Phaser API Documentation

  Version: 
previousFrame(state)

Description:

Called internally when the Animation is playing backwards. Sets the previous frame, causing a yoyo, repeat, complete or update, accordingly.

Parameters:

name type description
state Phaser.Animations.AnimationState

The Animation State belonging to the Game Object invoking this call.

Since: 3.0.0