Walking to a click

I’m trying to make a game and I want to make it so that the charactar moves when you click on the ground you are able to move on, like runescape, dragon fable, and kingdom fire. This I think is hard and I’m an intermaidete beginer. I think it would run on an array of 25x25. Please help I’m no good at this.