Articles on: Blocks

🟦 Random Number

The Random number block is used to obtain a random number (integer or decimal). By double clicking on the block, you can define the limits of the range of the randomly defined number (e.g. between 1 and 10) and you can connect the block to a boolean variable which will trigger the possibility to have decimal numbers.

The value of the Value point will then be filled with a random number and you can for example connect this point to the Value point of an Assign block.

Updated on: 29/03/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!