Aeryla
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Aeryla
-
-
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.
ThanksSee the Pen xJMjOeKjjzer by dalgot (@dalgot) on CodePen
Question of Infinite Text Animation
in GSAP
Posted
Hello! Just wanted to ask a question. With that helper function, how can I (or if I can) change the direction of the text on scroll? I currently have an event listener checking for the scroll direction and updating a variable accordingly. I'm just not sure how to add that into the animation after it is initialized.
Here is my codepen for reference, but it's basically the same as GreenSocks pen with just a few
tweaks:
See the Pen NWvBNre by aeryla (@aeryla) on CodePen