It's a bit more complicated than that. My game is where you press a button to go to the next layout, but I can't get the animation to play where the button changes to a sprite that looks pressed.
I've set it so that:
On var = 11, Make Button visible Set text to "(Doesn't matter) Set animation frame to 0 [/code:2hww4w56] And after that, the thing that should actually make the button press: [code:2hww4w56] On button left clicked Set animation frame to 1 Wait 0.5 seconds Go to layout 2 [/code:2hww4w56]
If var is still 11 wouldn't it just be instantly changing it back to frame 0?
You might want to use a different test such as sprite visible then set to frame 0 or use a separate variable.
Develop games in your browser. Powerful, performant & highly capable.
If var is still 11 wouldn't it just be instantly changing it back to frame 0? You might want to use a different test such as sprite visible then set to frame 0 or use a separate variable.
I never thought about that, thanks