First, thank you very much for helping me and especially great code. Now I’m starting to understand the code a lot, but when it comes to translating it to my problem it’s difficult for me. Because when you say “color backgroundColor;” I do not know what to change the “color” for something else, and also, when you put “color pickRandomColor ()” I do not know what to change for that “color”.
I understand that now I have to change the “state” of the mouse to boolean, and put the questions in “pickRandomColor ()”.