WAD to move, Click to shoot grappling hook.
Code is inside the Player, Hook and HookLine objects.
If you use this example, please credit me in the description or credits of your game.