Masking not masking Light?

I am making a multiplayer game and each character has a light that forever follows them. I want it so when a player is behind a wall (Wall has light obstacle behavior) the light is not visible except for the light not being blocked by the wall. I cant understand masking and what im doing wrong

1 Like