A Boolean block is an elongated hexagonal block shaped after the boolean elements in flowcharts. A boolean block contains a condition. When the block is invoked, it acts as a reporter block, reporting “true” or “false” string values or the numbers “1” and “0” depending on their usage in a script.
Boolean blocks are conditions that can either be true or false. They have a hexagonal shape and fit in the corresponding hexagonal slot on other blocks.
They can fit in number (reporter) inputs, too. In general booleans return string values of “true” or “false”, but when inserted into a reporter input, the boolean instead will return “1” or “0”, allowing mathematical operations to be performed.
As Boolean blocks are conditions (and report if they are true or false), they are used whenever a condition is needed. Conditions are used with some C blocks and some Control Stack blocks. A common use for conditions is the If () Then block — if the condition is true, the blocks held inside the C block will activate.