# random

Random

The **random** block is a boolean block that outputs a random value between true or false. To get this block, one must add the "Operators Expansion" extension.

## Workaround

This block can be worked around by randomizing between 2 integers that have a difference of 1, and then detecting if the resulting value is equal to one of the numbers:

define random boolean return <(pick random (0) to (1)) = [1]>::custom cap