Jump to content
GreenSock

alecsteinke

Is there any way to remove an addpause from a timeline?

Recommended Posts

I've written a script that addpause()'s on click. When I reinitialize the timeline the pause skips the animation. As far as I understand I should use remove() to take out the pauses. I don't know what the addpause adds to the timeline or if I'm even able to remove it. Any ideas would be much appreciated, thank you!

Link to comment
Share on other sites

There's actually a removePause() method in TimelineMax. You just pass in the time where the pause was that you want to remove. Like tl.removePause(2). Is that what you're looking for? 

  • Like 3
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.
×