A Webflow tutorial that shows how to build a button that follows the cursor with a 3D effect, using the mouse move trigger in Webflow interactions with GSAP. It covers animating X and Y movement, adding rotation and perspective, and adjusting rest states and perspective values for a more natural feel.
What you’ll learn
✓Animate a button's X and Y movement with a mouse move trigger
✓Add rotation and perspective for a 3D cursor-follow effect
✓Tune rest states and perspective values so the motion feels natural