Unit 3 Lesson 27 - background not changing

When the game is being played is the score is greater than 1 it is not changing to background 2. When lives are less than 0 it does change to background 3 like it is supposed to. Why won’t it change to background 2.

Hi @dcraig!

The main reason the backgrounds are not working is because they are all being called in the draw loop (so all of them are called to run all the time) which is overriding the calls to the backgrounds in the if statements. They should work as written if you remove the function calls in the draw loop and leave the ones in the conditional/if statements.
**FYI: “darkpink” doesn’t seem to work. Try just “pink”.
Good luck!
~Michelle