Product media placeholder
Replace this area with a screenshot or short walkthrough video during the media sweep.
Clamp distance between two positions
Type distanceClampCategory constraintsContext sharedDynamic ports noCompound no
Inputs
| Port | Type | Description |
|---|---|---|
sourcePosition | vec2 | Anchor |
targetPosition | vec2 | Target |
weight | float | Weight |
Outputs
| Port | Type | Description |
|---|---|---|
result | vec2 | Result |
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
distance | float | 0 | Distance min 0; step 1 |
mode | enum | "exact" | Mode options exact, minimum, maximum |
Envelope
Use distanceClamp 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/