Jump to content
Search Community

How to make cursor pointer center around the circle

Dushyant Kumar test
Moderator Tag

Recommended Posts

Yep, @OSUblake beat me to it.

 

It looks like you're not even using GSAP for anything except setting xPercent/yPercent...and the problem is that you're overwriting anything that GSAP did by setting the element.style.transform property directly with your own custom values. 

 

Docs: https://greensock.com/docs/v3/GSAP/gsap.quickSetter()

 

Happy tweening!

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