Reference

Random Number

Outputs a random number between Min and Max.

Category
Data
Topics
Scheduler
01

Ports

Random Numberdata
  • Minnumber
  • Maxnumber
  • Valuenumber
Ports Control Data
Data types string number bool

Strings accept any data input.
Numbers accept boolean input.

02

Fields

Field What it does Default Limits
Min The lowest number the block can output; a wired Min replaces it. 1 None
Max The highest number the block can output; a wired Max replaces it. 100 A value below Min is raised to Min.
03

What a run does

This block has no control ports.
It runs when a block that uses its Value runs.
A wired Min or Max replaces its field.
The number is picked once per run, so every block using it in that run gets the same number.

The number can have decimals, and it does not exceed Max.
If Max is below Min, the number is Min.