Phaser API Documentation

  Version: 
isTweening(target)

Description:

Checks if the given object is being affected by a playing Tween.

If the Tween is paused, this method will return false.

Parameters:

name type description
target object

The object to check if a tween is active for it, or not.

Returns:
Description:

Returns true if a tween is active on the given target, otherwise false.

Type:
  • boolean
Since: 3.0.0