Use the Up Arrow to go up and try to avoid the buildings.
I got this game from a book called: "20 GAMES TO CREATE WITH SCRATCH"