Hi
I have the same question but i begin with Construct 2 and i didn't understand how to do that.
Can you help me ?
My idea was a button with action onclicked that for each click add 1 to a variable and the variable define the frame of the animation of a sprite.
I click and my sprite goes on frame 2, i click again the sprite goes on frame 3 etc... and if i've got only 9 frames, if i click 10 times the animation goes back to frame 0.
Thanks for your help.