Jump to content
Search Community

Animated Mouse GSAP Error

FelixG test
Moderator Tag

Recommended Posts

Hi guys!

 

I am new with Gsap. I tried to implement a Animated mouse on a site by using this example (https://codepen.io/clementGir/pen/RQqvQx). I setup in my site and everything was going well until I go to an URL where I have to scroll to see the content and the mouse goes down and disappear. This is the site I am working on: https://www.errorerror.studio/work/

 

Has someone any idea why it happens??

 

Thanks

See the Pen RQqvQx by clementGir (@clementGir) on CodePen

Link to comment
Share on other sites

Hey Felix and welcome to the GreenSock forums.

 

That site that you linked to seems to work fine for me. It seems like you fixed it? That's one reason to use a CodePen demo to show your work - that way it's preserved for the thread in the future :) 

 

An error like this is usually fixed by adding the scroll position to the coordinates of the circle.

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