Skip to main content
Version: Phaser v3.88.2

Phaser.Tweens.States

Scope: static

Source: src/tweens/tween/const.js#L7
Since: 3.60.0

Static functions​

ACTIVE​

ACTIVE: number​

Description:

Tween state. The Tween is active within the Tween Manager. This means it is either playing,

or was playing and is currently paused, but in both cases it's still being processed by

the Tween Manager, so is considered 'active'.

Source: src/tweens/tween/const.js#L121
Since: 3.0.0


COMPLETE​

COMPLETE: number​

Description:

TweenData state.

Source: src/tweens/tween/const.js#L99
Since: 3.0.0


COMPLETE_DELAY​

COMPLETE_DELAY: number​

Description:

Tween state. The Tween is waiting for a complete delay to elapse.

Source: src/tweens/tween/const.js#L143
Since: 3.0.0


CREATED​

CREATED: number​

Description:

TweenData state.

Source: src/tweens/tween/const.js#L25
Since: 3.0.0


DELAY​

DELAY: number​

Description:

TweenData state.

Source: src/tweens/tween/const.js#L37
Since: 3.0.0


DESTROYED​

DESTROYED: number​

Description:

Tween state. The Tween has been destroyed and can no longer be played by a Tween Manager.

Source: src/tweens/tween/const.js#L194
Since: 3.60.0


FINISHED​

FINISHED: number​

Description:

Tween state. The Tween has finished playback but was flagged as 'persistent' during creation,

so will not be automatically removed by the Tween Manager.

Source: src/tweens/tween/const.js#L183
Since: 3.60.0


HOLD_DELAY​

HOLD_DELAY: number​

Description:

TweenData state.

Source: src/tweens/tween/const.js#L79
Since: 3.0.0


LOOP_DELAY​

LOOP_DELAY: number​

Description:

Tween state. The Tween is waiting for a loop countdown to elapse.

Source: src/tweens/tween/const.js#L133
Since: 3.0.0


MAX​

MAX: number​

Description:

A large integer value used for 'infinite' style countdowns.

Similar use-case to Number.MAX_SAFE_INTEGER but we cannot use that because it's not

supported on IE.

Source: src/tweens/tween/const.js#L204
Since: 3.60.0


PENDING​

PENDING: number​

Description:

Tween state. The Tween has been created but has not yet been added to the Tween Manager.

Source: src/tweens/tween/const.js#L111
Since: 3.0.0


PENDING_REMOVE​

PENDING_REMOVE: number​

Description:

Tween state. The Tween has finished playback and is waiting to be removed from the Tween Manager.

Source: src/tweens/tween/const.js#L163
Since: 3.0.0


PENDING_RENDER​

PENDING_RENDER: number​

Description:

TweenData state.

Source: src/tweens/tween/const.js#L49
Since: 3.0.0


PLAYING_BACKWARD​

PLAYING_BACKWARD: number​

Description:

TweenData state.

Source: src/tweens/tween/const.js#L69
Since: 3.0.0


PLAYING_FORWARD​

PLAYING_FORWARD: number​

Description:

TweenData state.

Source: src/tweens/tween/const.js#L59
Since: 3.0.0


REMOVED​

REMOVED: number​

Description:

Tween state. The Tween has been removed from the Tween Manager.

Source: src/tweens/tween/const.js#L173
Since: 3.0.0


REPEAT_DELAY​

REPEAT_DELAY: number​

Description:

TweenData state.

Source: src/tweens/tween/const.js#L89
Since: 3.0.0


START_DELAY​

START_DELAY: number​

Description:

Tween state. The Tween is waiting for a starting delay to elapse.

Source: src/tweens/tween/const.js#L153
Since: 3.0.0