timeScale property

double timeScale
getter/setter pair

The time scaling factor applied to all tweens.

A value of 1 indicates normal speed, while values higher than 1 will speed up all tweens, and values lower than 1 will slow them down.

By default, timeScale is set to 1, meaning all tweens play at normal speed. You can adjust timeScale to create slow-motion or fast-motion effects.

Note that timeScale affects all tweens globally. If you want to adjust the speed of individual tweens, you can use the timeScale property of the tween itself.

Implementation

static double timeScale = 1.0;