Step 20: Player Jump 2

Goal:


We need to set up what happens if the player sprite is sitting at y = -89 (its usual position) and the player presses spacebar.

Steps:

  1. From Operators, place an = block and set the right side to -89.
  2. From Motion, place a round y position block into the left of the = block.

Code: