When Trigger arrives, it generates one random number in the range A–B 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 ID | Type |
A | float |
B | float |
Trigger | trigger |
Output ports
Scriptable members
| Path | Type |
currentValueA | float |
currentValueB | float |
Synapse Apps (scripting)
await synapse.modules.create({ type: "random" })