Random
This block generates a random integer.
Configuration
- min: lowest value that can be generated (inclusive). Default
0. - max: highest value that can be generated (inclusive). Default
100. - Variable: optional variable the result is written to.
min and max are block parameters, so they can be static values or come from the preceding block.
Connections
- Answer: executed after a number has been generated. The generated number is available to the following blocks as
result.
Note
When max is less than or equal to min, the block outputs min.