When __ = __

This conditional "When" triggers whenever the equals phrase is true. It's used with numbers and variables to test if they have the same value.

When 'lives' = 0, text pops up on the screen that says Game Over. Hopscotchers often use “When 7=7” to make code run continuously in their project. 

Still need help? Contact Us Contact Us