releases.shpreview

Mouse move animations now possible with GSAP via Interactions

From the original release noteView original ↗

Mouse move animations using Interactions with GSAP

Create dynamic mouse move animations using Webflow Interactions and GSAP to bring interactivity to your website.

Overview

Mouse move animations allow you to create engaging effects that respond to user cursor movement. By combining Webflow Interactions with GSAP (GreenSock Animation Platform), you can build sophisticated animations that track and respond to mouse position in real-time.

Getting started

To create mouse move animations, you'll need:

  • A Webflow project with Interactions enabled
  • Basic understanding of GSAP
  • Elements you want to animate based on mouse movement

Creating your first mouse move animation

  1. Select the element you want to animate
  2. Open the Interactions panel
  3. Create a new interaction and choose "Mouse Move" as the trigger
  4. Use GSAP to animate properties based on mouse coordinates

Advanced techniques

Tracking cursor position

Use GSAP with mouse event listeners to continuously track cursor coordinates and update element positions or rotations accordingly.

Easing animations

Apply easing functions to create smooth, natural-feeling animations that respond to mouse movement with momentum and deceleration.

Performance optimization

  • Throttle mouse move events to improve performance
  • Use will-change CSS property on animated elements
  • Consider using CSS transforms for better performance

Best practices

  • Test animations across different devices and screen sizes
  • Ensure animations don't interfere with user interactions
  • Use subtle animations to avoid overwhelming users
  • Consider accessibility and disable animations for users with motion preferences

Resources

For more information about GSAP and Webflow Interactions, refer to:

Fetched July 22, 2026