Use WASD or arrow keys to move. Press space to use the sword.
Scratch Tutorials on YouTube https://scratch.mit.edu/studios/5578098/