Questions in the title. How could i find this out in game?
Develop games in your browser. Powerful, performant & highly capable.
Set a variable to AnimationFrameCount-AnimationFrame?
AnimationFrameCount is the number of frames in the animation. AnimationFrame is the current animation frame.