Skip to content

Drag & Drop

Veyrajs has no draggable flag — dragging is a small handshake you wire yourself: pointerdown on a shape captures the grab offset, pointermove updates its world position, and pointerup drops it. Explicit, and fully under your control.

Snapping is a one-line change to the drag math — round the world position to the nearest grid step: