Hi There,
I want change the animation frame on a sprite by clicking on that same sprite.
I know the code when there is only 2 frames.
Currently the below image is set for changing the visibility
BUT
I was thinking about changing opacity step by step by clicking on one sprite.
I would like it to have multiple Frames
for example
start out = frame 0 = 100% opacity
first click = frame 1 = 70%
second click = frame 2 = 40%
third click = frame 3 = 0 %
forth click back to frame 0
please remind me how to do this.