OnTriggerEnter2D pop up

hey, i need help. When an object1 (UI image) touches another object (UI image), object1 disappear and pop up image shows up for few second and disappear again. Any help? code, tutorial? Thanks. I have got this so far

    void OnTriggerEnter2D(Collider2D other)
    {

        if (other.gameObject.CompareTag("popup1"))
        {
            other.gameObject.SetActive(false);
        }
    }

I answered this in another thread. 1 thread is usually enough. :slight_smile:

  • Scripting section, I think, was where.