Overlap won't fire with condition

activating the flashlight capsule
overlap while I’m still on closet
boxtrigger overlap

You can move logic from BeginOverlap to new function( OnXXXInteraction) and use overlap function just to detect if something “is in range”, i think its better to use GetOverlappingActors instead and check which one is closer, but its up to you.

It would be better if on your interaction event you could just check “is in range” and Call your OnXXXInteraction. Its good to use Interfaces to do interaction system like this, here is tuturial introducing interaction and interfaces (but using linetrace)