Capítulo 88 de 411

Chapter 88: Timeline.timeScale()

Core Idea

timeScale() gets or sets a speed multiplier for the timeline (1 = normal, 0.5 = half speed, 2 = double speed).

Reference Tables

ParameterTypeDefaultDescription
valueNumberNaNomit to get, pass to set

Code Examples

tl.timeScale(0.5); // half speed

Connects To

  • gsap.globalTimeline.timeScale(): same mechanism applied globally.