Pause or Resume an Animation by Checking isActive with GreenSock

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

You often need to pause or resume an animation based on whether or not the current animation running. The isActive() getter returns a boolean that provides you with that information (the opposite information can be found with using the paused() getter).