how do I adjust a lights brightness when i collect a pick up

Hey Guys, I have a scene with a spotlight in it lighting up an area. I have 20 keys in the area and when i pick 1 up I want to lower the brightness of the light until i have all 20 and then the light is completely out but i cant fine anything on changing a lights brightness. can someone please help :slight_smile:

Easiest way is to make an Animation and then play it back with animation.Play. This will also allow you to dim the light’s brightness over a second or so.