Share Posted January 18, 2019 I have a project that I am building and unbuilding cards to a screen based on User feedback. My goal is: animate in the cards (TimeLine.staggerFrom) user chooses new set animate out the cards (using Reverse) onReverseComplete (load the new set of cards) Empty the container of cards Append the new HTML Animate in the new cards But the issue is my reverse complete is firing before the timeline is complete... I am guessing it is happening when a child card completes, I would like it to happen when the whole timeline reverse complete See the Pen GPbwzr?editors=1111 by jkellner (@jkellner) on CodePen Link to post Share on other sites
Share Posted January 18, 2019 Try to use the timeline's onReverseComplete event. onReverseComplete on the stagger* callbacks will be fired on every subsequent tweens (for every box). See the Pen QzXzXX?editors=0010 by mm00 (@mm00) on CodePen 4 1 Link to post Share on other sites
Author Share Posted January 18, 2019 Boom! I knew it was something simple... Thanks! Link to post Share on other sites
Share Posted January 18, 2019 Hi @jkellner, As a supplement to the note from @RolandSoos. If you want to take a little break, use a delayedCall () See the Pen VqJgWB by mikeK (@mikeK) on CodePen Happy tweening ... Mikel 3 Link to post Share on other sites