I want to reset a running animation to a particular frame. Even more so, when a user touches an animated sprite, I want to get the frame number at that touch, and based upon it reset the animation to some different frame number.
So, for example if I have a 100 frame animation, and it's running, and the user taps it at frame 30, I want to jump the animation to frame 60; if he taps at frame 90 (say) I want to jump the animation to frame 20. And, of course I want the sprite to continue to animate. So: I need to be able to get the tapped frame, and to set the next frame in the animation sequence.
Suggestions on 1) if this is even possible; 2) the calls or where to look, would be greatly appreciated. (I did look around here on the forum, and in the sprite.m code... where some internal methods look like _maybe..._...
Wondering if anyone just happens to know....
TIA