Capítulo 19 de 411
gsap.globalTimeline is the root Timeline that drives every GSAP animation, giving you one lever to pause, resume, or rescale the speed of everything at once.
.timeScale(): multiplier affecting the playback rate of all animations (e.g. 0.5 for half-speed, 2 for double-speed) by changing how fast the root timeline itself advances, not each child individually.delayedCall() is technically a tween, pausing/rescaling the global timeline also affects delayed calls — use gsap.exportRoot() if you need to exclude them.isActive() quirk: always returns true on the global timeline regardless of whether anything is actually animating, since the timeline itself is always "running".gsap.globalTimeline.timeScale(0.5); // half speed, everything
gsap.globalTimeline.timeScale(2); // double speed, everything
gsap.globalTimeline.pause(); // pause everything
gsap.exportRoot() instead.