Jump to content
Search Community

Call back function for end of motionpath

fd_alistair test
Moderator Tag

Go to solution Solved by iDad5,

Recommended Posts

Just a onComplete on the tween (gsap.to()) should do the trick. If you think about it, what ist completed isn't the motion-patt (the road you walk down) but your movement (the walk you took).

Does that clarify things, or do you need more help?

Link to comment
Share on other sites

4 minutes ago, iDad5 said:

Just a onComplete on the tween (gsap.to()) should do the trick. If you think about it, what ist completed isn't the motion-patt (the road you walk down) but your movement (the walk you took).

Does that clarify things, or do you need more help?

 

Ok thanks - I had tried that previously...am I doing something wrong? : 

See the Pen YzaeaBG by fuzzyduck (@fuzzyduck) 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...