Character isnt following curser, inside top down game

At the moment the character does turn when the curser is on screen, but the character does not point towards the curser’s location and stops following depending on the location of it.

alt text