No need of any variable, simply setting the vector of the position by mouse click and the players distance are needed to determine whether he walks or not.
@Pappenheimer And how would you do this that you have wroted here that I have quoted. Can you give me an example code , please?
Last edited by Eagelina; 06/03/0917:02.
A6 and A7 Commercial ------------------- Programmer always searching for more to learn and understand.