Click and move interface

hello, i need a click and move function i know i can get the click and move script from unity wiki but thats not what i was looking for, in RuneScape when you click and move you move to a square, you would know this if you looked in to runescape enough :stuck_out_tongue: but if you don’t ill try and explain. i need it so that basically i have a floor made of may different cubes, once i click on a certain cube the player would move to that cube then if i click another random cube the player would move to that cube and so on and so forth, i tried coding it myself but i can seem to get it right i tried OnMouseEnter, OnMouseDown, boolean,the hole Vector3.Lerp(transform.position,Cube.position * Time.deltaTime * Speed) but it didn’t work :confused: so i was wondering if anyone could help.

Thanks.

Doesnt matter i figured it out!