Mouse click and walk to direction

O.K. I have a bit problem of creating my man to walk to the direction that I cliked with mouse, it’s no problem to walk him there, but hou to give him the idea that if he has to move up, not with keys, with mouse direction when clicked to make a walking animation up, or down, or in other position. How would the code look like :slight_smile: thnx if u understand what I wrote :slight_smile: