When you press the green flag, you can press space to start the lights. When a variable gets to a certain point, the project will stop.