Phaser API Documentation

  Version: 

Member of: Phaser.Tweens.Tween

duration: number

Description:

Time in milliseconds for the whole Tween to play through once, excluding loop amounts and loop delays.

This value is set in the Tween.initTweenData method and is zero before that point.

Type:
number
Default: 0
Since: 3.60.0