How to call collision from separate blueprint components?

I want my character’s collision component (which in this case I am using ‘OnComponmentBeginOverlap(component)’ for) to trigger only when it collides with a box trigger component on a wall blueprint, rather than trigger when it collides with the wall. How would I go about doing this? I’ve tried casting the wall to the overlap event but I can’t get the component I need from it. How can I set up this system?