Download

[Help] Component Begin Overlap of a scripted object not working correctly.

I’m trying to do buttons that turn on/off multiple scripted lights, but when i put more than one button inside the editor Component Begin Overlap works weird, it doesn’t recognize no buttons except the last added.

Through testing i discovered the problem was the way Component Begin Overlap works and after a change the image below worked.

https://forums.unrealengine.com/filedata/fetch?filedataid=118475&type=thumb

Just directly connected overlap to execution of the code, all buttons in the scene started to work.

So what i’m trying to achieve is:
How do i do a keyboard input + box trigger(buttons class component) of multiple button objects when both cases are true, to work?

There is another way to correctly use component begin overlap for multiple instances that i am unaware?

**Thanks in advance! **