Arrow keys to move. M to throw your sword when you get one (It will move to your mouse pointer). R to go back onto the path.
Thanks to everyone who made scratch. Without them this couldn't have been made possible.