Click on the character, then click again where you want him to go.
Feel free to use this script in any project, as long as you give credit.