If all lights have the same animations/images, then you don't need 10 identical sprites. Use just one sprite with 10 instances.
Also, you can remove either On or Value variable, since they both mean the same thing.
On click -> Toggle On and call the function.
Inside the function -> If On, set animation to "On", else set animation to "Off". Also pick lights with On=true and use Light.pickedCount to get the number of lights that are on.