Hi! I'm new to GSAP and wanting some help with my animation.
Whenever the mouse enters the grey box, the blue box is supposed to move with the cursor, and when the mouse leaves the grey box the blue box is supposed to immediately return back to it's original position.
Right now it's only resetting on mouseleave sometimes, not all the time. When you move the mouse really fast it works but not when you move the mouse slowly.
I've tried looking for a solution on my own with no results, so I'm hoping someone can give me some tips.
Thanks