Library

Ready-made Fusion code for DaVinci Resolve. Copy, paste, animate.

103 expressions

MotionTested in Resolve

Magnetic hover

Leans a button, card or icon toward another layer, a cursor, as it passes within reach and lets it settle back as it leaves: the magnetic hover of modern sites, for interface demos. Name the layer that passes.

Paste into
Transform › Center
Sign in to see the code and copy it.

In Fusion, right-click Center in the Inspector, choose Expression, paste and press Enter.

Paste it into the Center of the Transform that should lean; Rest X and Y are where it sits. Frame is your timeline's shape.