Random

Read with AI
All docs in one file (llms-full.txt)
random #Operation #Node
Random

When Trigger arrives, it generates one random number in the range AB and outputs it to Result (internally Random.Range(A, B)).

  • The node has numeric input fields for A and B, so you can type values in directly without connecting ports

Moving A or B also re-rolls it. Because this inherits the binary-operation base class, Result is updated when A or B changes as well, separately from Trigger. When you want to limit the timing to Trigger alone, feed A / B values that do not move.

Input ports

Port IDType
Afloat
Bfloat
Triggertrigger

Output ports

Port IDType
Resultfloat

Scriptable members

PathType
currentValueAfloat
currentValueBfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "random" })

Pages linking here