Phaser API Documentation

  Version: 
isOffsetAbsolute(value)

Description:

Checks whether the offset value is a number or a directive that is relative to previous tweens.

Parameters:

name type description
value number

The offset value to be evaluated.

Returns:
Description:

true if the result is a number, false if it is a directive like " -= 1000".

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