Tee Posted April 14, 2020 Share Posted April 14, 2020 I'm very new to GSAP and didn't find an answer online, hence excuse this basic question. Is there a way to undo an const animation = gsap.timeline().. ? I know of animation.reverse() - I need something like this, but without the animation/ease - I need it to reset to it's initial values without any animation. Is there a simple way to do this? Link to comment Share on other sites More sharing options...
ZachSaucier Posted April 14, 2020 Share Posted April 14, 2020 animation.pause(0); Also .seek(0).pause() or .progress(0).pause(). Or .restart().pause(). Lots of ways. 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