Buttons and Boxes

I need to have a OnComponentBeginOverlap on a trigger box work with a specific Box.
What is the best way to acheive this?
I have coloured buttons that need a box of the same colour to activate.

OnComponentBeginOverlap has an output called OtherActor. You can cast that output to whatever class your colored box is.
Then you can get whatever variable you use to define the color of the other box (linear color, boolean, material, etc.) and use an Equal node to check if it has the value you expect it to have.
Then, the output Bool from the Equal node can be used with a Branch, with true being what happens if it is the correct box.

Great. Works well now.
Thanks a lot :slight_smile: