That's it, im making a tile map based game where I have doors (sprites) that work also as Shadow Casters, so that they block the light and the player doesn't know what's behind them but the thing is that for example the walls I have (which also are Shadow Casters) do not hide the Doors, because they are sprites and the behavior does not hide sprites :c.
So in the end I had to add LoS to the player and make doors invisible when not in LoS but this doesn't work entirely well as I have some bugs related to the doors dissapearing.
giphy.com/gifs/nYT2l0sfo5qmrZHSsS
As you can see in the GIF, the door does not show up if im in the middle tile (even tho I should have a clear line of sight since it's right in front of me) but it doesn't show up until I move closer to it. And no the problem isn't the distance of the LoS, already tested that.
If anyone knows how to help me I would appreciate it.