Help guide

DOM Dock To node

Updated June 21, 2026

Product media placeholder

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

Compute additive translate that centers a source DOM element over a target element, scaled by a 0..1 blend. Wire outputs into a domPoseWrite translateX/translateY.

Type domDockToCategory boundaryContext sharedDynamic ports noCompound no

Inputs

PortTypeDescription
blendfloatBlend

Outputs

PortTypeDescription
offsetXfloatOffset X (px)
offsetYfloatOffset Y (px)

Parameters

ParameterTypeDefaultDescription
sourceSelectorstring""Source Element
targetSelectorstring""Target Element
sourceAnchorstring"center"Source Anchor (Y)
targetAnchorstring"center"Target Anchor (Y)

Envelope

Use domDockTo 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-boundary/

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