Why are my buttons not working?
leahc117
Member, PRO Posts: 9
Hello,
In my game I have 3 buttons - forward arrow, back arrow, and reset/menu
if I have more than 1 actor on a page it seems like only one works - for example:
On one of my scenes i have it set up so if you click on the image actor you can pan through multiple images(rule when mouse is pressed change self image to mod self.image+1, 17) . that works fine until I add the reset/menu button (rule: when mouse is pressed change scene to "menu"). Is there something I am doing wrong that is preventing these commands from only applying to that exact actor? Its like I click anywhere on the page and it takes me back to menu.
Thanks
Answers
You most likely want to use Touch rather that Mouse.
Touch means that actor was touched. Mouse means anywhere in the screen was touched.
But touch won't work on my desktop computer? so how do i test the game while i am working?
Oh my - thank you - i didn't realize that touch would work while making the game - I've been doing twice the work for no reason!!