Phaser API Documentation

  Version: 
setTimeScale(value)

Description:

Sets 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.

The value isn't used when calculating total duration of the tween, it's a run-time delta adjustment only.

Parameters:

name type description
value number

The time scale value to set.

Returns:
Description:

This Timeline object.

Since: 3.0.0
Source: src/tweens/Timeline.js (Line 290)