Project 210: Maze Game

4. Make your main character move down

Using the last challenge as a hint, make your main character move down.
Starting point file for this challenge

Your goal

Steps

1. Add a "when green flag clicked" block

This block is found in the yellow "events" section. 

2. Add a "change y by -10" block

Down is the opposite of up, and negative 10 is the opposite of positive 10. This block is found in the dark blue "motion" section.

3. Add an if-statement block.

You only want the main character to move down if the player presses the down key. Like before, you need the "if-statement" block, found in the orange "control" blocks. 

4. Add a "down-arrow key pressed" condition

If-statements only work if they have a condition that tells them when to run. You only want the main character to move down if the player presses the down key. This block is found in the light blue "sensing" blocks. 

5. Make your code repeat with a "forever" loop

Like before, we want this code to be checking if the player is pressing the down-arrow key during the entire game. This block is found in the orange "control" section. 

6. Test out different speeds

Is moving down at a different speed than moving up? Make sure your character moves at the same speed up and down.