Jump to content
Search Community

Creating a reset button, and wanting to add an animation/transition to ".seek()" or ".progress()"

mfewcar test
Moderator Tag

Recommended Posts

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

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...