Right Arrow: move right. Left Arrow: move left. Space Bar: jump. Space + Space: double jump. Collect all the donuts. Watch out for the robot!
I found code for this project from the Scratch Wiki page: https://en.scratch-wiki.info/wiki/Advanced_Platformer_Physics