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
I was thinking about changing opacity step by step by clicking on one sprite.
I would like it to have multiple Frames
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.