For example, if repeat is 2 and repeatDelay is 1, the animation will play initially, then wait for 1 second before it repeats, then play again, then wait 1 second again before doing its final repeat. RepeatDelay : Number - Amount of time in seconds between repeats. For example, if repeat is 1, the animation will play a total of twice (the initial play plus 1 repeat). Repeat : Number - Number of times that the animation should repeat after its first iteration. Paused : Boolean - If true, the animation will pause itself immediately upon creation. Without a timeline, building complex sequences would be far more cumbersome because you’d need to use the delay special property for every tween. The syntax is similar as TimelineMax in the 2.X version but with some improvements. It is most similar to TimelineMax if you’re familiar with the GSAP 2.X syntax.
It is the ultimate sequencing tool that acts like a container for tweens and other timelines, making it simple to control them as a whole and precisely manage their timing.
Gsap.timeline is essentially a chain of tween (.