Rotate your device.
Turn off orientation lock in device settings.

Tap or click to reset
Immersive Reader

Now we've got flags that are too high for our current jump! Let's use both the "up" and "down" arrows so that we can have multiple jump heights.

We need to add a parameter to our jump function called height.

  • The up arrow should cause the dog to jump 200 pixels
  • The down arrow should make it jump only 100 pixels.
1
Blocks
Workspace
100200
jumpEditwhenuparrowjumpEditwhendownarrowmoveleftwhenleftarrowmoverightwhenrightarrow100200