Torrfura Posted September 3, 2020 Share Posted September 3, 2020 I wonder if this is the best way to dynamically overlap nested dynamic timelines / tweens, or is there a even better way to do it? I've made a really simple example to show what I mean. Using .add(tween, '<.1') does not work since the first item will be altered aswell. See the Pen 8f3c3e8a7a18f11582f0e71bbfe7fe34 by joseelsantos (@joseelsantos) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted September 3, 2020 Share Posted September 3, 2020 Hey Torrfura. There are a lot of ways to handle this sort of situation. Your way is fine. Another common way is to use two tweens that have all of your boxes selected and use GSAP's stagger property. Link to comment Share on other sites More sharing options...
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