I have animated buttons that go off to different pages of the
site, but at the moment they all go to the same page even though I
have specified different ones. I have attached the code (remember I
am new to this) and if someone can help out that would be great.
onMouseDown checks whether the mouse button is down
regardless of whether the pointer is over the button or not. to
check whether the user has clicked on a specific button, use
onPress (or onRelease for mouse release).