Jump to content
Search Community

Aeryla

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Aeryla's Achievements

  1. 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: https://codepen.io/aeryla/pen/NWvBNre
  2. 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
×
×
  • Create New...