Phaser API Documentation

  Version: 
hasOffset(tween)

Description:

Checks whether a Tween has an offset value.

Parameters:

name type description
tween Phaser.Tweens.Tween

The Tween to check.

Returns:
Description:

true if the tween has a non-null offset.

Type:
  • boolean
Since: 3.0.0
Source: src/tweens/Timeline.js (Line 377)