How do I make a skylight only affect part of my map

Is it possible to disable the skylight via blueprint? So if the player overlaps with a trigger then the skylight is disabled?