It depends on what the light is connected to. If the light is connected to your character, then you could do this in your widget’s event graph:
Then, your reference will appear and you can pick your variable: