mfewcar Posted May 19, 2020 Share Posted May 19, 2020 In my timeline I set up a reset button that seeks the 0 position in the timeline, but it immediately jumps to the beginning without any sort of transition or animation. I've been researching different ways to approach the issue, but can't seem to figure out how to get this to work. The docs for .seek doesn't show any way of calling another gsap animation. Would love some input on this. See the Pen MWaPwzb?editors=1010 by manuelwebdev (@manuelwebdev) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted May 19, 2020 Share Posted May 19, 2020 Hey mfewcar. This is exactly what .tweenTo() is for. Alternatively, you can create a tween that animates the progress of your timeline: gsap.to(tl, {progress: 0}); 2 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