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