so basically, when i click on the screen i want to change the position of an image to the location where i am clicking.
how can i do it using the script.
thanx in advance
so basically, when i click on the screen i want to change the position of an image to the location where i am clicking.
how can i do it using the script.
thanx in advance
Hi @Ashish_Rana,
Check this post, it contains an example on how to drag an element with the mouse in 2D space:
well i dont want to drag the UI element, but instead i want to change the position of the image to where ever i clicked on the screen.
And the script used in the above project, doesn’t give much info about it.