Most Common ScrollTrigger Mistakes in Learning Center Posted March 26, 2022 Heya @Blizzart! No, nested would look like this... A scrollTrigger both on a timeline, and on one or more of the tweens inside the timeline. const tl1 = gsap.timeline({}) .to('#jsScn23', 1, { top:'-200vh', ease:Power1.easeInOut, scrollTrigger: { trigger: "#something", start: "top top", end: "+=500%", } }) const scroll1 = ScrollTrigger.create({ trigger: "#jsScene1", start: "top top", end: "+=500%", animation: tl1 }); 1
Most Common ScrollTrigger Mistakes
in Learning Center
Posted
Heya @Blizzart!
No, nested would look like this...
A scrollTrigger both on a timeline, and on one or more of the tweens inside the timeline.