[QUOTE=morex] Thanks keroberos. That is what i'm doing now but I feel it's not the best way.
@vee41, Thanks. I think that's the correct approach but my problem is when i enable the effects, all objects are affected. Do you have a working example to share?
Heres a quick demo:Evil sprites
The last event is function you can call to enable/disable effect in certain situations, you could easily adapt something similar to your own project.