Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Macrossyiu

How to add a mouse over effect at the end of time line?

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi Hero,

 

I need to create a mouseover effect on a little button. The mouseover function will start at the end of the timeline.

 


Here is the original mouseover effect.

See the Pen Nvdvry by mikeK (@mikeK) on CodePen

 

Many thanks.   :)

See the Pen RmKrMp by macross (@macross) on CodePen

Link to comment
Share on other sites

Welcome to the forums, @Macrossyiu. I read your post a few times and I'm totally lost. I may be missing something obvious, but I just don't understand your question. Can you re-state it? Do you have a GSAP-specific question we can help you with? 

  • Like 1
Link to comment
Share on other sites

Hi @Macrossyiu,

 

.add can only be used as part of a Timeline.
I cleaned up your pen a little bit.

 

See the Pen zQNJvy by mikeK (@mikeK) on CodePen

 

Happy tweening ...

Mikel

  • Like 3
Link to comment
Share on other sites

Thanks  Mikel, 

 

This is what I am looking for.  :)

Appreciated.

 

15 hours ago, Macrossyiu said:

Hi Hero,

 

I need to create a mouseover effect on a little button. The mouse over function will start at the end of the timeline.

 

See the Pen RmKrMp by macross (@macross) on CodePen

 


Here is the original mouse over effect.
 

 

 

Many thanks.   :)

 

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