how to get gameobject x Position code example Example: get position of any gameobject in unity GameObject.Find("Your_Name_Here").transform.position;