This script is very cool, but I'm not sure about how to use it. I mean, I could give my light sources a dynamic effect to simulate a burning torch, and enhance realism. Or I can use it to represent some statuses, like poisoned with the bubbling acid effect on a token. I've noticed two issues about this. If I'm right the effects are not blocked by walls, so if I toggle a status effect on a torch to make it looks burning then I have to manually remove the effect when players are no longer in the torch sight (when they turn a corner). Second issue is about performance. If I forget to toggle off an effect when I open again the page on which the effect is still active the page loading is terribly slow. I end with a little question: how many effects can I activate without provoking lag?