Capítulo 84 de 411

Chapter 84: Timeline.smoothChildTiming

Core Idea

smoothChildTiming (Boolean) controls whether child tweens/timelines get their startTime automatically adjusted to keep playback smooth when their properties change on the fly (e.g. mid-tween reverse()).

Key Concepts

  • Default false for normal timelines, true on root/global timelines.
  • When true, reversing a partially-complete child keeps the parent's playhead position stable rather than jumping.

Code Examples

let tl = gsap.timeline({ smoothChildTiming: true });