Phaser API Documentation

  Version: 

Member of: Phaser.Tweens.Tween

updateTweenData(tween, tweenData, delta)

Description:

Internal method that advances the TweenData based on the time value given.

Parameters:

name type description
tween Phaser.Tweens.Tween

The Tween to update.

tweenData Phaser.Types.Tweens.TweenDataConfig

The TweenData property to update.

delta number

Either a value in ms, or 1 if Tween.useFrames is true.

Returns:
Description:

True if the tween is not complete (e.g., playing), or false if the tween is complete.

Type:
  • boolean
Since: 3.0.0