I have been trying hard to get this working but it just seems to go wrond somewhere and i cant get it to work. What i have is a tilebased map. What i want is when i select a character his movement area to show up. Eg a maximum of 10 tiles. And once the character is selected the user can select which tile he wants to move to and draw an arrow between the character and the tile.

Heres an example i whiped up. Its not tilebased its just an example.

Click Here