how to get a position of a 2d gameobject vector code example
Example: get position of gameobject unity
GameObject.FindGameObjectWithTag("Your_Tag_Here").transform.position;
GameObject.FindGameObjectWithTag("Your_Tag_Here").transform.position;