Detecting if a blueprint overlaps another

So i have 2 blueprints, One for a Ball and one for a Goal, The Ball can be either Red or Blue (determined by a boolean variable), i want to check the color of the ball when they overlap, but not sure how to

Hopefully I can help!

Just to clarify, it sounds like you are able to detect an overlap between the goal and the ball, but are unable to access the boolean to check for color, is that right?

To expose variables like this you need to cast the overlapping actor to the Ball like in the image below.

I created an actor called BallTest with the variable IsRed. After you do the cast, you can drag off the AsBallTestC and type the name of your variable.

I hope that helps and please let me know if I can help with anything else!

Cool thanks for that… Didn’t think to cast it (mainly because I didn’t know it could catch automatically if the casting failed! thanks for that!)