I want help masking an item

Godot Version

Godot 4

Question

I have wanted to make a masking element in my game for a long time, however after masking was removed from lights in Godot 4, I have not seen a single video about masking that has worked and so I need the help of professionals like most people here on the forum. I would love for someone to help me with this either through explaining or even a quick demo. Thank you.