Phaser API Documentation

  Version: 
delay: number

Description:

The delay before starting playback of the current animation, in milliseconds.

This value is set when a new animation is loaded into this component and should be treated as read-only, as changing it once playback has started will not alter the animation. To change the delay, provide a new value in the PlayAnimationConfig object.

Prior to Phaser 3.50 this property was private and called _delay.

Type:
number
Default: 0
Since: 3.50.0