Phaser API Documentation

  Version: 
hasTarget(target)

Description:

See if any of the tweens in this Tween Chain is currently acting upon the given target.

Parameters:

name type description
target object

The target to check against this TweenChain.

Returns:
Description:

true if the given target is a target of this TweenChain, otherwise false.

Type:
  • boolean
Since: 3.60.0