Jump to content
Search Community

Having trouble with mousemove effects

rahim test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello,

 

I'm new to animation with GSAP and very new to coding in general...

 

I'm practicing GSAP making some rectangles rotate and move with the mouse, and I was able to get it to work, but now when I try to add new elements and effects the document, nothing nothing seems to be work. It also causes the mousemove effect to stop working. I know I'm probably doing this completely wrong...

 

Would anyone be able to explain what's going on here? Also, I know my code is a mess, so if you think there's a better way to get this to done I would love your feedback! 
 

Thanks so much! 
Rahim

See the Pen xxxRVyx by rrspence (@rrspence) on CodePen

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