Phaser API Documentation

  Version: 

Member of: Phaser.Tweens.Tween

totalDuration: number

Description:

Time in milliseconds it takes for the Tween to complete a full playthrough (including looping)

For an infinite Tween, this value is a very large integer.

Type:
number
Default: 0
Since: 3.60.0