Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Mona177

TimelineLite isPaused

Recommended Posts

Hello,

in my project I used an older version of greensock TimeLineLite, there was a property "isPaused" when the timeline is paused. Now I downloaded the new version of gsap and here is no isPaused property for the timeline anymore. Why isn't it there anymore? I tried to add a flag and store the pause frame, but I don't understand how to get frame of the timeline when it is paused.. Could you please help me with that??

Link to comment
Share on other sites

Hm, I'm pretty confident there was never an "isPaused" property/method. I think you might be referring to paused(). :)

if (timeline.paused()) {
    //do stuff
}

You can use that as a setter too if you want, like timeline.paused(true);

 

Enjoy!

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