Click to swing the sword. Space to throw the sword, and after it lands on the wall, click to teleport to the sword.
Something I've been working on occasionally the past little while. The end result will be a game with actual dungeons to fight through, fighting enemies and stuff. The rooms will be bigger (smaller character), different sword and character skins will be added. The current skins, other then the rainbow sword, probably aren't final. Feel free to try equipping any ski you want but it will mess up the code if you don't do it right. The dungeon rooms will also have a different appearance, and there will hopefully be a randomly generated dungeon mode. I look forward to getting this done although it will be slow since I don't do scratch much these days.