move game object to touch position

Hi. I need to move a game object to the position of a touch(iOS). I have been looking for answers but I think i can’t get the right one. Please help me out.

2D or 3D?

2d

please,can anyone help

sorry, forgot about this thread…

To get the position you touched on the screen, you can access Input.mousePosition (also for touch… as long as no multi touch).
This position however is probably not the position in your game world. So you need to let the camera which renders your game let transform the position into the world position:

MyCamera.ScreenToWorldPoint(Input.mousePosition);

hope this solves your problem :slight_smile:

hi. Now i would like to be able to move one game object with one finger and the other one with another one

https://unity3d.com/learn/tutorials/modules/beginner/platform-specific/multitouch-input