Course lesson
Pause or Resume an Animation by Checking isActive with GreenSock
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).
- Duration
- 1 min
- Access
- Pro
- Transcript
- Available
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).