Comparison and Logic Operators
Comparison Blocks (return true or false)
- () > () — greater than
- () < () — less than
- () = () — equal to
Logic Blocks
- and — true only if BOTH conditions are true.
- or — true if AT LEAST ONE condition is true.
- not — flips true to false and false to true.
Example
if and then → say “Great job!”
The sprite only cheers when the score is above 10 AND there’s still time left.