Jump to content
Search Community

changing the cursor white Tween "happens"

Antonio test
Moderator Tag

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

I am using TweenLite.to to change a path when a clipped svg is hovered. I change the cursor on mouseover event (which triggers the Tween). I would like to "reset" the cursor (to default) when the tween is done, but tween seems to be modeless, so execution follows downstream. How can I handle this?

 

thanks

Link to comment
Share on other sites

Hello Antonio, and welcome to the GreenSock Forum!

 

To better help you can you please provide a limited codepen example so we can see your code live and in action.

 

Here is a great video tut by GreenSock on How to create a codepen example!

 

 

You could always us a special callback onComplete to add a class with the new cursor property and value.

 

:)

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