Phaser API Documentation

  Version: 
has(tween)

Description:

Check to see if the given Tween instance exists within this Tween Manager.

Will return true as long as the Tween is being processed by this Tween Manager.

Will return false if not present, or has a state of REMOVED or DESTROYED.

Parameters:

name type description
tween Phaser.Tweens.Tween

The Tween instance to check.

Returns:
Description:

true if the Tween exists within this Tween Manager, otherwise false.

Type:
  • boolean
Since: 3.60.0