Jump to content
GreenSock

Afrowave

TweenLIte.killDelayedCallsTo() replacement?

Recommended Posts

Dear Greensocksers, 😀

 

Is there an exact replacement for the `TweenLIte.killDelayedCallsTo()`?

Link to comment
Share on other sites

Hey Afrowave,

 

Pulling from the .killDelayedCallsTo() docs:

Quote

Since a delayedCall is just a tween that uses the function/callback as both its target and its onComplete, TweenLite.killTweensOf(myFunction) produces exactly the same result as TweenLite.killDelayedCallsTo(myFunction).

In GSAP 3 you can simply use: gsap.killTweensOf(myFuncion). Example pen:

See the Pen bGNzKEx?editors=0010 by GreenSock (@GreenSock) on CodePen

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