STEP 10: Now that we have code for when the player misses the goal, let's write code for when there is a goal.
An else block runs if the statement above it does not run.
- In LOGIC, go to and drag in Else. Make sure your else looks like this: ····else:
- In GRAPHICS, go to and drag in Glide To INSIDE your else block.
- Change the name in front to ball and the numbers in the parentheses to (175, random_height).