We want our code to check if our racer is touch outside of the race track, so we need to use an if-statement. You can find the "if __ then"-statement in the orange "control" section.
In order figure out when the racers leave the track, we are going to check if they are touching the color we have chosen as a background to our track. This is why it is important to make your background a solid color, otherwise this condition wouldn't be able to check all colors in a multi-colored background.
Click on the colored circle inside your "touching color __" block and use the button at the bottom of the color picker to select your background color from the preview window.
We don't want the motion to just happen once – we want it to repeat. To repeat code, we need to add a loop. Add a forever loop to keep the game checking. You can find the forever loop in the orange "control" section.