Capítulo 37 de 411
A Timeline is a container for tweens and other timelines that manages their relative timing as a single controllable unit, replacing manual delay chains.
let tl = gsap.timeline();
tl.to("#green", { duration: 1, x: 786 })
.to("#blue", { duration: 2, x: 786 })
.to("#orange", { duration: 1, x: 786 });
gsap.timeline(), not new gsap.Timeline()..to(), .add(), labels, playback control) operates on the timeline as a whole or on its children.