object move when mouse click

Hi everyone!
I’m new comer. I want to get mouse position, how do i do?

i want to make simple project, that has one unit on the map. when i click the mouse on the map, the unit is moving to that point.

Somebody help me!
if who have the same project, share me please!
Thanks!

Help me, please!

Look up the following functions in the Unity Script Reference:

Physics.Raycast
Camera.ScreenPointToRay
Transform.position

These are all the functions you need to accomplish what you want to do. If you have more specific questions I’ll be happy to answer them.