Library

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

103 expressions

MotionTested in Resolve

Snap to grid

Puts a layer on the grid point nearest another layer as that one moves freely: in hard steps, like a design tool's snapping, or soft, clinging to each point and gliding quickly to the next: tidy drags, stepped meters and pixel-neat moves. Name the layer that moves.

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 layer that snaps and name the one that moves (keyframe it, or let another expression move it; it can be a Transform with nothing showing). The grid's cells are square on a 16:9 frame.