Turning On and Off Lights

So I’m trying to make 2 lights toggle between eachother using one button. Is there a way I can do it using either point_spotlight or env_lightglow?

[editline]10:27PM[/editline]

Delete this post please, I got it working.