[Posts in the debugging category need to have the following pieces of information included in order to help other teachers or our moderator team best help you. Feel free to delete everything in brackets before posting your request for debugging help.]
Link to the project or level: Game Lab - Code.org
What I expect to happen: When Lines 56-67. Background change colors when greater than or equal to 5 clickes and the bunny shakes at random clicks.
What actually happens: When eggs are clicked the background changes color at random numbers instead of at 5 or more clicks.
What I’ve tried: I have tried using different options for the if statement: mousePressedover etc. I have moved the backgrounds into different areas of code inside/outside the drawloop to start the program.