Constant damage while not in proximity of object

Hi,
I’m looking for a way to make the player take constant damage while not in the proximity of a light source; it’s a top down game - so as far as I know it can’t be camera based.
Any ideas would be helpful! :slight_smile: