I’m working on a Newgrounds game - not that it is important… But I don’t know how to make my clip to only play the animation when clicked…
The code goes as follows:
Mousclick
Drawer.play();
Yeh that’s all
I’m working on a Newgrounds game - not that it is important… But I don’t know how to make my clip to only play the animation when clicked…
The code goes as follows:
Mousclick
Drawer.play();
Yeh that’s all
first you have to stop your clip and then add to the mouse released the play action
look the following example
clickandplay.wick (2.0 KB)
Oh mouse released, not mouse clicked?
Thanks for telling me!
mouse clicked or released. choice is up to you. it may also depend on other programming decisions