Use the arrow keys! Up to jump, left and right to move. As usual, you know you've reached the end when everything glitches out.
I used 4 invisible sensor sprites to determine when the character was touching the obstacles (which are all one sprite).