How can I hide part of a Sprite2D which is out of TileMap's tiles? Godot 4 beta 16

151 Views Asked by At

I am making a blood traces, but sometimes traces can spawn in the way like this, so I have a part of my trace which is out of wall.enter image description here So how can I cut out or hide this part?

I tried to do that with enter image description here this option, but PointLight2D not showing my trace at all.

0

There are 0 best solutions below