unity get coordinates of object code example Example: get position of any gameobject in unity GameObject.Find("Your_Name_Here").transform.position;