The animation cycle is 20 frames.
How do I make the animation play from frame 1 to frame 7,
then repeat animation 4 times from frame 7 to frame 15, and then finish the animation from 15 to 20.
Develop games in your browser. Powerful, performant & highly capable.
The easiest way to do this is, set up 3 different animations instead of just 1. Play the first animation which is made up of the first 7 frames and use the on finish trigger to start the second animation. To make the second animation repeat 4 times, there is a setting called Repeat Count. If you set it to 4, the animation will cycle 4 times before triggering its on finished event. When the second series of animations finishes, start the final animation.