Download

simple pressure plate turns on light

So what I want to do is to turn on the lights when the character is overlapping a certain collision box in the scene (That’s done, already figured that out). Now I need the lights to turn off (or destroy the directional light actor) when the character stops overlapping with the collision box. Please reference the pictures I included. Thanks!

For anyone that came here with the same question, I figured it out. what you have to do is click on blueprints above the scene editor window and create a triggerbox begin overlap event and a triggerbox end overlap event, then chain both the begin and end overlaps to a toggle visibility function casted to your light component. It should look like my picture.