Jump to content
Search Community

onStart triggered twice with invalidate()

tailbreezy test
Moderator Tag

Go to solution Solved by ZachSaucier,

Recommended Posts

The onStart gets triggered twice, not sure why.

It seems it is triggered just after a tween has been setup, even if it is paused.

 

So we get one onStart when it is setup and another when the actual tween plays.

 

Note: If I don't invalidate it doesn't play twice, but when you restart the tween it doesn't even execute.

See the Pen xxEMLMq by dadacoded (@dadacoded) 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.
×
×
  • Create New...