Jump to content
Search Community

Best way to call a function in TimelineLite?

mr.x test
Moderator Tag

Recommended Posts

Often in a timeline sequence I'd like to simply call a function. The best way I've figured out to do this is using a delayedCall like:

myTimelineLite.append(TweenLite.delayedCall(0, myFunction));

but is there a better way? This code works, but seems a little clunky.

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