Phaser API Documentation

  Version: 

Member of: Phaser.Tweens.Tween

hasTarget(target)

Description:

See if this Tween is currently acting upon the given target.

Parameters:

name type description
target object

The target to check against this Tween.

Returns:
Description:

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

Type:
  • boolean
Since: 3.0.0