Animation - Forcing To Start at X Frame

Hello everyone.
I’ve had a problem with some animations.

Is there any possible way to start an animation from X frame?

I have a GUI repeat button, to which I want to press…while this button is pressed play animation, if I press the button again I want the animation to run from the third frame && loop the whole animation while the button is pressed. Is there any way to force this?

Thanks for your time!


animation["MyAnimation"].time =7.0;

Animatin time

or even this

 var desired_play_time = 5.3;
 animation["MyAnimation"].time = desired_play_time;
 animation["MyAnimation"].speed = 0.0;

hope i understand correctly :slight_smile: