Jump to content
Search Community

each loop

Bess Tilahun test
Moderator Tag

Recommended Posts

Hey Bess and welcome to the GreenSock forums!

 

You aren't loading jQuery, GSAP, or ScrollMagic in that pen - you need them in order for any of that code to work. Furthermore, controller is not defined.

 

Please refer to this post to get your project up and running:

 

But also note that ScrollMagic is not a GreenSock product and we don't really support it here. We recommend using other approaches, such as using intersection observers, instead.

Link to comment
Share on other sites

1 hour ago, Bess Tilahun said:

my thing am facing is... to animate each element by each loop when they are appears in the screen. but its is animating all at once, what shall i do?

That's a ScrollMagic question unrelated to GSAP. All I can do it refer you to our article about pairing the two, which includes a section covering using .each():

 

I don't know ScrollMagic well enough to help you.

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.
×
×
  • Create New...