constrain () min () max ()
Constrain () min () max ()
The constrain () min () max () block is a reporter block in the Operators category that justifies a number. The number will stay the same if it's between the min and max values, however when below the minimum, it gives out the min value. This also works the same if above the max value. The default constrained value is 50, the default min value is 1, and the default max value is 100.