This is Platformer 101. Just like a regular platformer. Arrow keys or WASD to move. Please Like and Fave. Please Remix Simple Platformer: easy and short.
Thanks to okthisisgood for how to make a platformer. Also thanks to CoolRobotGuy2 for the idea. You should check out his game: 100 level platformer https://scratch.mit.edu/projects/345561095