Jump to content
Search Community

Stagger onStart when using distributeByPosition?

ZachSaucier test
Moderator Tag

Recommended Posts

Sure, you could just manually loop through the targets and insert the tweens using the distribute helper function like this: 

See the Pen KKaQoLq?editors=0010 by GreenSock (@GreenSock) on CodePen

 

And put your onStart there (in each tween). 

 

The whole stagger thing is simply a way of calculating the delays on the resulting tweens (one for each target), so this is just doing it in a more manual way so that you have total control. 

 

Does that clear things up?

  • Like 6
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...