Arrow keys to move, and space to attack. If you die and you want to try again, press the green flag twice.
I've made the knight platformer 2 now, and it's way better. Here it is: https://scratch.mit.edu/projects/314468900