User Controlled Spline

Hi,

I’ve created a spline that spawns a user selected number of lights distributed across it., turning each one down sequentially, have got that working. However I cannot get that to turn on by using a button in a widget.

Any ideas??

Thanks,
Neil