Jump to content
GreenSock

DanielSA10

Animation not starting entering screen (ScrollTrigger)

Moderator Tag

Recommended Posts

(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

Link to comment
Share on other sites

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.

 

image.png

Link to comment
Share on other sites

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!

image.png.1c3eb3fc8e390600eba0d09eb354a529.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×