Help guide

Latch node

Updated June 21, 2026

Product media placeholder

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

Sample-and-hold on rising-edge `pulse`. Captures the live `value` at the pulse moment and freezes it on `held`.

Type latchCategory inputsContext sharedDynamic ports noCompound no

Inputs

PortTypeDescription
valuefloatLive signal being sampled. Whatever this reads at the moment `pulse` rises gets captured into `held`.
pulsefloatTrigger. On rising edge (0 → >0), the current `value` is captured. While not pulsing, `held` keeps the previous capture.
resetfloatOn rising edge, restores `held` to the `initial` param. Use to clear the latch back to a known starting point.

Outputs

PortTypeDescription
heldfloatMost recently captured value (or `initial` before the first pulse). Stays constant between pulses.

Parameters

ParameterTypeDefaultDescription
initialfloat0Output value before the first pulse arrives, and after each `reset` rising edge. Example: 0 for "neutral until snapshotted", 0.5 for centered remapped progress.

Use cases

  • Snapshot at spawn — capture cursor X / Y / scroll position when a particle, flair, or trail item is born; downstream animation reads the held value as a fixed start point.
  • Freeze a live signal — preserve "the value at the moment X happened" while the source keeps changing.
  • Step-and-hold sample — the float counterpart of a sample-and-hold ADC, useful for stepped numeric outputs.

Related nodes

Envelope

Use latch 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