Phaser API Documentation

  Version: 
getTimeScale()

Description:

Gets the value of the time scale applied to this Timeline. A value of 1 runs in real-time. A value of 0.5 runs 50% slower, and so on.

Returns:
Description:

The value of the time scale applied to this Timeline.

Type:
  • number
Since: 3.0.0
Source: src/tweens/Timeline.js (Line 310)