Quick display then destory

I have ImageX displayed and moving, when it collides with ImageY I want it to display ImageZ for about 1.5secs and then destroy ImageZ so it goes back to playing. Here’s what I have that seems close, but it’s not quite there.

IEnumerator DestroyQB()
{        
    gameObject.renderer.enabled = false;
    tackledPrefab.renderer.enabled = true;
    transform.position = new Vector3(transform.position.x, transform.position.y, transform.position.z);
    yield return new WaitForSeconds(1.4f);
}

What do you mean by “Close but not quote there”? What is missing?

This line wouldn’t do anything…

transform.position = new Vector3(transform.position.x, transform.position.y, transform.position.z);

Perhaps you meant…

tackledPrefab.transform.position = transform.position;