Skip to example

Drag with spring follow

An example of making multiple elements follow the pointer on drag, using Motion's drag() and springValue() functions.

JavaScript

Not ready? Try 10 Motion+ demos free.

Create a free Motion account to run 10 Motion+ demos live, with their controls. No card needed.