Transform.Position=Touch.Position?

Hello. How can I have an objects position be that of the the touch position? So that the player can just touch an area on the devices screen and have the object be there, or they can drag the object? Thanks

Use Camera.ScreenToWorldPoint

Set the z value to the distance between your object and the camera.

Would it be something like this (untested)

function Update (){
Transform.Position = Vector3 = camera.ScreenToWorldPoint (Vector3 (Touch.Position.x,Touch.Position.y,10));
}