how can i move my gameobject on mouse click by script??

sorry about my english but i need help please

i want to know unity’s c# script use for the game that i planinig

but i could not use any location learning c# for my level (=low, very low level)

so i first want to move gameobject on mouse click

like starcraft unit or legueoflegend champion move liike

for this move what script need?

i’m sorry again my english but help need so much

dear makri907
Transform player;
void Start(){
player = gameObject.Getcomponent();
}
void Update(){
if(input.GetMouseButtonDown(0)){
//Manipulate the player transform here…
}
}
So Thank you about your answer, I now study in academy but I still not well cording
I was busy so I couldn’t check your answer I’m so sorry

First of all read some unity documentation and GetMouseButtonDown() is used to move object on click of mouse button.
and in unity input manager handles all the input related events so here is the link of Input but GetMouseButtonDown() solves your problem.