Transcript

Instructions

  1. 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.
  2. Program the if condition to move y by 5, and the else condition to move y by -5.
  3. Add costume changes to make the sprite look more realistic as it flies up and down.
namespaces/google.engedu.csfirst/contents/Activity-186036289601514560056622088108762306963en