!URGENT! How to make a grid of clickable objects.

I am making a game similar to XCOM: Enemy Unknown (except 2D) and I need to make a grid that when a grid square is clicked on, I am able to get the coordinates of that square. My goal is to be able to move a character by clicking on a square. What’s the easiest way to do this? I think I’ve heard something about a grid object but I’m not sure. Thank you!

P.S. I am a beginner so exact instructions on what I need to do in the editor would be useful

you could place texture2d’s one by one then use this.

Ray vRay = Camera.main.ScreenPointToRay(Input.mousePosition);

then write a script to generate empty game objects at that location, then write in the character moving to that location.