How to make overlap event for only one component?

I’ve been trying to make a soccer game. I’ve used box triggers and added blueprint for overlap event. But whenever I try to get my player inside the goalpost it counts as a goal. I understand the problem, but I’m a beginner so I have no idea how to create an overlap event for only one component.
I’ve tried making composite blueprint using the ball and the box trigger- but there are two box triggers…so…
P.S.: As for the ball I used static mesh component sphere and included physics.
What should I do?

Thanks in Advance.

Hi man ,
i can say you two way to fix it.

  1. Make a new collisions preset !. In the project setting you can add a lot of collision type, so for example, make a “People” new type that ignore the kind “Door-GOAL”.
    Add a Custom Object Type to Your Project in Unreal Engine | Unreal Engine Documentation
    here is the link to how do that.
    2)When you get the overlap event you can compare the overlapping actor / component or anything.
    here two example.
    https://docs.unrealengine.com/latest/INT/Engine/Blueprints/QuickStart/5/index.html
    How do I detect a specific overlap event? - World Creation - Unreal Engine Forums
    You can check and compare the mesh , if is a soccerball.
    Hope it help you