Use Green Flag, Arrow Keys and Space.
This is my own method for variable height in a 2.5d style game. It needs better platforming code I think or I messed up a little somewhere. At any rate the cat bounces a bit sometimes. Notice how you can add pits just by changing the terrain in the costume editor of Scratch.