Phaser API Documentation

  Version: 
onRepeat(diff, setStart, isYoyo)

Description:

Internal method that handles repeating or yoyo'ing this TweenData.

Called automatically by setStateFromStart and setStateFromEnd.

Parameters:

name type description
diff number

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

setStart boolean

Set the TweenData start values?

isYoyo boolean

Is this call a Yoyo check?

Since: 3.60.0