Step 15. Boolean Variables
Two variants of clicking to change color, and a rectangle that changes if the mouse is inside it.
The code uses "if" statements and
Boolean operators
to achieve these effects. Different forms of the code make the changes temporary or permanent.