The controls are WASD to move, move your mouse to point the sword, and click to stab.
I give credit to Bagborn, who made the project sword fight: https://scratch.mit.edu/projects/218818037/, and this is my remake of it.