Is there a way to make a window using the LightOccluder2D?

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

In my game, the player character is traveling around an isometric map that has windows.
Currently, I am using a Light2DAdd to have my player character cast shadows in my game. And I have a canvas modulate node that darkens the frame around the light that is emitting from the player character.
Is there a way that I can occlude the top of the window frame so the light looks like it is going through the window rather than going through the whole wall?

Image of character with Light2DAdd and walls occluding that light

Similar second image but from other side of the wall