Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Felix Bridell

Can't get .isActive() and .kill() to work on a TimelineMax

Recommended Posts

Hi.

 

This is probebly an easy one, but I need some one to point me in the right direction here.

I can't get .isActive() and .kill() to work on my TimelineMax (or don't understand how it works). I have search the forum and tried some examples but still no luck.

 

I want to create a simple feedback animation for the user when click on a save button. If the user clicks several times while the animation is running, I want it to kill the active one and start a new one. Does not sound that hard, but now it just create an other feedback message beside the existing one.

 

Please help.

See the Pen yRvyxQ by mashplan (@mashplan) on CodePen

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