How do I get the position of recently collided object?

Greetings.

I want to test the implementation of rewarded video ads so I give prize to player so they can continue their last game. I used Flappy Bird as example.
Notice in the picture, there is a black box.
The bird just collided with the first black box and I wanted to know how do we get its position because I want to give the position to the bird when it start over?

Is it possible to happen?

No need. I just found how it was.
I use variable xLast and yLast to get its position from Collider2D target.
Thank God.

    void OnTriggerEnter2D(Collider2D target)
    {
        if (target.tag == "TreePortal")
        {
            audioSrc.PlayOneShot(pointClip);
            xLast = target.transform.position.x;
            yLast = target.transform.position.y; 
        }
    }