[Help] Guitar Hero-esque code not working.

    void OnTriggerStay2D (Collider2D other) {
        Debug.Log("Test");
        if (Input.GetKeyDown("D"))
        {
            if (other.gameObject.tag == "ZoneWin")

            {
                Destroy(gameObject);
            }
        }
       
    }
}

I have the correct tags, correct everything as far as I can see. However, my gameObject just passes through the other sprite I put in. (This code is on the object that I am Instantiating.)

does something involved have a rigidbody2d attached?

Yes, my “ZoneWin” sprite has a rigid body.