I am trying to make enemies using the move to function. It works fine so far, but I need help. I am clueless as to how to get the enemy to change direction depending on what way he is walking.
So is there an easy way to read movement and place it inside a variable?
Thank you for your help.