Jump to content
Search Community

onComplete calllback firing at start of animation...

Vivodionisio test
Moderator Tag

Recommended Posts

Hi @Vivodionisio

 

Looks like you're firing the cursor blink function on line 20. I'd set the onComplete on the timeline like this:

See the Pen 6b153b393ed873f617523cbf2f13ed29 by PointC (@PointC) on CodePen

 

You also wouldn't necessarily need a whole timeline in the cursor blink function. Just a simple yoyo tween will work just fine. Not that a timeline is wrong or anything. A tween is just a bit simpler.

 

Hopefully that helps.

 

Happy tweening.

:)

 

  • Like 2
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...