Phaser API Documentation

  Version: 
setStateFromStart(diff)

Description:

Internal method used as part of the playback process that checks if this TweenData should repeat or has completed.

Parameters:

name type description
diff number

Any extra time that needs to be accounted for in the elapsed and progress values.

Since: 3.60.0