Boolean blocks are blocks that return a value of true or false. They are hexagonal, and are mostly found in the Sensing and Operators categories. They are accepted into many Control blocks, such as "If" "If, else" "Wait until" and "Repeat until" . Three Boolean blocks exist that manipulate other Boolean blocks- And, Or, and Not. And and Or accept two inputs; Not only accepts one. Here is a summary of these blocks' different possibilities(T=True, F=False):
AND OR NOT
F+F=F F+F=F T=F
F+T=F F+T=T F=T
Another useful Boolean block is the = block, as well as its cousins, < and >. They compare integers and strings. = returns true if strings are the same or integers are equal, < returns true if the first integer is smaller than the second, and > returns true if the first integer is larger than the second.