[Solved] Player Movement based on Mouse Clicked

Hey guys, I’ve been experimenting with moving my player based on Mouse Clicked. But, It always ends up performing in a undesirable manner. I would post my code, But I’ve cycled through so many different variations. That I can’t post them all.

A common problem I’ve noticed is that the player never moves in a straight line. So, If someone who has already written their own implementation of player movement based on mouse clicked could give me a push in the right direction. It would be greatly appreciated, thanks in advance.