What do i connect in to the Object node in Cast to?

This is my Character Blueprint and it’s working good. When i look the Switch (InterruptorBP) and click it activate the On/Off Event Luz 1.

My problem start here. In this event i want to call the Lamp Blueprint (Luz Techo) to “Set intensity” of his pointlight but i don’t know what do i have to connect in “Object”

YOu have to cast the specific BP switch actor. So if you have several of these switches in your level, then you have to get the one that the character is hitting and input that into the object of the cast node.

I prefer to avoid talking about it because I can not solve. I used " Cast To" with “Begin Overlap” a lot of times and I had no problem because this gives the connection to “Object”. Is there another way to do this without using a custom event ? :confused:

Is that a custom event that is firing the castTo node?

Yes, It’s.

Then pass the object with the event call node. You can then connect to the object input on the CastTo node.