Transcript
Instructions
- Add an if-else statement and a "space key pressed?" block to your program that makes the sprite move up and down when the user presses and releases the spacebar.
- Program the if condition to move y by 5, and the else condition to move y by -5.
- Add costume changes to make the sprite look more realistic as it flies up and down.