You can trace from the moust to static objects in the world and get the location of the hit and use the AI’s MoveToLocation command. Here is a brief example in the player controller of how to get the hit location.
But when i move my mouse it rotates the actor, is there a way to make the player turn back into the direction its walking? because now while walking it keeps turned to the cursor locaiton