Press the up arrow key or the w key or the space key to make the cat go up. Don't touch the building or the edge.
Thanks to the Scratch team for making a Youtube video on how to make a scrolling background.