Why isn't my light toggling?

So I setup a light component so where when you press F, it toggles the light. It works except that the light does not toggle. Did I do my blueprints wrong? Here is a video:

Also, when I set the visibility of the light from the start off, the spotlight is still on. What should I do? Help is appreciated. Thanks!

It looks like your light is set to static. You’ll want to set it to stationary or movable, probably movable. Stationary would also work in this specific case, but movable are the easiest, most flexible lights to use (for a price).