How can I turn on/off spot lights created in a blueprint class placed in different locations in the scene?

Click on the F node, and look in the details. Uncheck the ‘consume input’ box.

I created a spot light in a blueprint class and placed it in different locations (1-5).
I want to press on key F and all spot lights turn on/off.
In the attached event graph, only the last one can turn on/off.
How to solve this issue?

That worked!
Thank you very much!