Double or triple tap

I want to make a button(object) that when I press/Click it once it changes animation and then when I press/click again it changes to another animation, But I failed because whenever I press/click my button, it just changes to the last Aninimation skipping the rest. please help.

Thank you.

look at this simple code: with each touch the animation changes, when it reaches the last animation it returns to the first. Always put a timer to adjust the touch: the finger is not as quick to get up as the screen reader :wink: so it is better to delay the reading of the touch by about 0.2 seconds

1 Like

in the example above, when it reaches the last animation (2) it stays on the last animation (2), in your case you have to insert (SET TO 0) and so it returns to the first

I love you :fist_right:t4::fist_right:t4:.

1 Like