Help guide

Random Float node

Updated June 21, 2026

Random Float node

Product media placeholder

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

Picks a uniform random float in [`min`, `max`) on each rising-edge `pulse` and holds it until the next pulse. Wire into a tween's `to` for per-spawn variety (random rotation, scale variance, fall distance).

Type randomFloatCategory inputsContext sharedDynamic ports noCompound no

Inputs

PortTypeDescription
pulsefloatTrigger. On rising edge (0 → >0), a fresh random float is sampled.
resetfloatOn rising edge, restarts the PRNG sequence from `seed` and resamples.

Outputs

PortTypeDescription
valuefloatMost recently sampled float in [`min`, `max`). Stays constant between pulses.

Parameters

ParameterTypeDefaultDescription
minfloat0Lower bound (inclusive) of the random range. Example: -360 for full-rotation range, 0 for positive-only values.
maxfloat1Upper bound (exclusive) of the random range. Example: 360 paired with min=-360 → angle in degrees [-360, 360).
seedint1PRNG seed (mulberry32). Same seed → same sequence on every load. Examples: 1, 42, 1337.

Use cases

  • Random rotation per spawn — wire `value` into a tween's `to`, set `min: -360, max: 360`. Each pulse picks a fresh angle.
  • Random duration / amplitude — vary tween range per fire so trail items / particles don't look mechanical.
  • Deterministic randomness — set `seed` for reproducible sequences across reloads.

Envelope

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