Random integer

Random Pure
Random integer
Min 0
Value
Max 100

Description

Pure function returning a random integer between min (inclusive) and max (inclusive).

When to use

Use Random integer to generate a random number within a specific inclusive range — for example, picking a delay duration, simulating a dice roll, or selecting a random index. The node is pure, so it evaluates lazily each time its output is consumed. If the result must stay within a validated range, wire through Clamp afterwards.

Pins

Input pins

Pin Type Default Notes
Min integer 0 The inclusive lower bound of the random range.
Max integer 100 The inclusive upper bound of the random range.

Output pins

Pin Type Notes
Value integer A random integer in the range [min, max].

Example

Simulate a six-sided dice roll and log the result. Set Min to 1 and Max to 6, then wire the Value output through Integer to string and feed the Result output into the Message input of Log message to record the roll value in the execution log.

See also