I tried the code without the event as a separate function and included in the action instead but it does not work.
I don't want to remove the lamp itself, just the flare. I know there is a way to do it but my understanding of pointers is limited.
Thanks for the tip, I didn't know you could combine settings into one line. That should clean up future code quite nicely.