Code the character movement like the game 999?

I want to make the character move when the player holds right click and aims to make the character slingshot to where the mouse is aimed. Any help would be much appreciated.

Just google point and click tutorials. Tons of resources out there with way better explanations than anyone could offer through text.