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.

Did this answer your question?