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

Source code