Phaser API Documentation

  Version: 
isOffsetRelative(value)

Description:

Checks if the offset is a relative value rather than an absolute one. If the value is just a number, this returns false.

Parameters:

name type description
value string

The offset value to be evaluated.

Returns:
Description:

true if the value is relative, i.e " -= 1000". If false, the offset is absolute.

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