Help guide

Draggable node

Updated June 21, 2026

Product media placeholder

Replace this area with a screenshot or short walkthrough video during the media sweep.

Wrap a DOM element or canvas object as draggable, with optional inertia. Outputs current position + drag state + velocity, suitable for driving any downstream graph node. Set `direction` to lock to an axis.

Type draggableCategory constraintsContext sharedDynamic ports noCompound no

Inputs

PortTypeDescription
weightfloatWeight

Outputs

PortTypeDescription
positionvec2Position
xfloatX
yfloatY
isDraggingfloatIs Dragging
velocityXfloatVelocity X
velocityYfloatVelocity Y
resultXfloatResult X
resultYfloatResult Y

Parameters

ParameterTypeDefaultDescription
directionenum"both"Direction options both, horizontal, vertical
selectorstring""Selector
inertiabooltrueInertia
throwResistancefloat0.55Throw Resistance min 0; step 0.05

Envelope

Use draggable as the node type inside a graph node envelope. Add id, optional params, optional connections, and optional activeWhen based on the guide context.

Generated source

Registry faster-motion-docs/node-registry.jsonCategory page /help/faster-motion/faster-motion-node-category-constraints/

Was this guide helpful?

Sunny Arora

Written by

Sunny Arora

Get technical deep dives delivered to your inbox

Join creators and developers who get exclusive insights, tutorials, and behind-the-scenes content every week.

No spam. Unsubscribe anytime.

Continue Exploring

You might also enjoy