Ah I understand now I think. You could do a three layer setup. Objects on the bottom layer and light in the middle. Then if any object has a line of sight to the light you can move it to the top layer.
It 'kind of works'. 'Works' because the sprite appear and disappear according to the LOS to light. 'Kind of' because it doesn't look normal, since I will see all the sprite even if the light is illuminating just a little part of it, or the sprite will get black even if I am seeing a part of it.
Another idea is to just do shadows yourself, either with the “paster” or “custom draw” plugins. Basically it’s just a quad from each edge with two points projected with a ray from the light to the edge corners. The trick to show objects in the light and hide those in shadow would be to only use edges facing away from the light. Anyways there was an old example of this done with the canvas or paster plugin I think.
Will have a look, would then work normally on mobile?