Jump to content
Search Community

Play button on the mousemove EventListener

maoux test
Moderator Tag

Recommended Posts

 

I recently started using GSAP and I'm still a newbie. I created a section where the video scales to 1 and the border radius returns to 0. Instead of having the play button in the middle, I want it to follow the cursor using mouse movement.

See the Pen GRLwMqP by Mau-Dumapias (@Mau-Dumapias) 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...