Jump to content
Search Community

Return animation back to start values

samlinck test
Moderator Tag

Recommended Posts

Hey samlinck and welcome to the GreenSock forums! Thanks for the minimal demo, it's very clear.

 

The reason why clearProps is not working is because you're adding it to the timeline. Since the timeline is paused, that set call is not reached until later (when it's unpaused). To get it working, use just gsap.set() instead :) Alternatively, you could not clear anything but instead use .pause(0)

  • Thanks 1
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...