DanielSA10 Posted August 16, 2022 Posted August 16, 2022 (title edit: Animation not starting when entering screen) Hello! I'm trying to figure out how to make a timeline for ScrollTrigger, but i'm clearly doing something wrong. I want the 2 lines in the middle section, to move when they enter the viewport, but I can't get them to animate at all. What could I be missing? Thanks! See the Pen JjLeryz by Readingnotallowed (@Readingnotallowed) on CodePen.
Cassie Posted August 16, 2022 Posted August 16, 2022 Hey there! You need to include GSAP and ScrollTrigger in your JS panel! If you type in that search box GSAP and ScrollTrigger will pop up.
DanielSA10 Posted August 16, 2022 Author Posted August 16, 2022 7 minutes ago, Cassie said: Hey there! You need to include GSAP and ScrollTrigger in your JS panel! If you type in that search box GSAP and ScrollTrigger will pop up. Oh okay, just added them, hope it helps!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now