Your code
Set both colours.
Console
Results
0%
Press Run to check your code
Your code has an error
Set both colours.
Why not 100%?
Penalties: none this run
A question about mouseIsPressed has two sides, and else covers the other one. The lamp is one colour for every frame the button is down and another for every frame it is not.
Set both colours.
Set both colours.
Set both colours.