Transcript

Instructions

  1. Start the hero in the right place.
  2. Move the ground below and make it stay.
  3. Create a variable.
  4. Place this variable in a "change y" block at the bottom of the motion loop.
  5. Make the variable change by negative 1 if the hero is in the air, or set it to 0 if it's on the ground.
namespaces/google.engedu.csfirst/contents/Activity-86475531104538203995477539915117286033en