OnTriggerEnter for 1 collider,OnTriggerEnter to not apply to children

I have a gameObject that has a 2d box Collider trigger (hitbox) and has a child that also has a 2d circle Collider trigger(detection zone). I was wondering if there was a way to only call onTrigger on the parent’s collider ONLY. Currently the player will take damage when it enters the detection zone and when it enters the hurtbox.

void OnTriggerEnter2D(Collider2D col) {

    GameObject colObj = col.gameObject;
    PlayerController thisPlayer = colObj.GetComponent<PlayerController>();
    if (colObj == null) {
        return;
    } else if (colObj.tag == player) {
        thisPlayer.TakeDamage(damage);
    }
}

I just realized I could just make a child that contains a collision2d for the hitbox and call onTrigger on that gameObject. Keeping this question up incase anyone else gets stuck :slight_smile: