How to make LightOccluder2D only blocks light that is in its shape.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By shifitzel

In the image below dark grey rectangle represents the sprite, the light grey rectangle represents the Light2d, and the red outlined rectangle represents the LightOccluder2D. As you can see, the LightOccluder2D blocks light beyond its shape. Is there a way to make LightOccluder2D only block light that is in its shape?

Image