please format code with </> button * homework policy * asking questions
Hi!! I need help in understanding how to use the constrain() function. I want to be able to click on a rectangle and have it change colors, however, I want it to change colors only when I click on the rectangle how do I do that?