I have a light source with overlapping function when it overlaps the box and presses e
the light presses E?
when I place the second actor and run one and the other
place which actor? run what?
You want to put out the first one but instead, you light it up again.
where was it meant to put out the first?
your explanation lacks details and clarity. also you should post your script so we can see what you have thus far and what your trying to do.
from the sound of it im guessing that you have a light actor that when you overlap and press E that the light turns on or off. i would also guess that your using something like begin overlap but then your not disabling input or something similar on end overlap. without seeing your code though it makes it really hard to say with any certainty.