I am trying to do a lighting system where I use a light2D node to hide parts of a tilemap to show the layer below which is a lit version of the tilemap, but when 2 Light2D nodes are near each other, they cancel each other out


What would be the best way to do this?, note that I am also planning on making the light stop when it touches the ground.