currentFrame property

SpriteAnimationFrame get currentFrame

The current frame that should be displayed.

Implementation

SpriteAnimationFrame get currentFrame => spriteAnimation.frames[currentIndex];