Phaser API Documentation

  Version: 
nextFrame()

Description:

Advances the animation to the next frame, regardless of the time or animation state. If the animation is set to repeat, or yoyo, this will still take effect.

Calling this does not change the direction of the animation. I.e. if it was currently playing in reverse, calling this method doesn't then change the direction to forwards.

Returns:
Description:

The Game Object this Animation Component belongs to.

Since: 3.16.0