The direction of the character must follow the cursor. And it must work even if cursor is behind the map.