how to get the last postition of an object in unity 2D code example Example: get position of any gameobject in unity GameObject.Find("Your_Name_Here").transform.position;