Help guide

Distance Input node

Updated June 21, 2026

Distance Input node

Product media placeholder

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

Mouse distance to target (0 = at target, 1 = beyond radius)

Type distanceInputCategory inputsContext domDynamic ports noCompound no

Inputs

PortTypeDescription
--No ports declared.

Outputs

PortTypeDescription
valuefloatValue

Parameters

ParameterTypeDefaultDescription
radiusfloat0.2Radius min 0.01; max 2; step 0.01
falloffenum"linear"Falloff options linear, quadratic, smooth

Envelope

Use distanceInput 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-inputs/

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