Make Parts of Sprite invisible where another Sprite overlaps / X-Ray vision / 2D

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By MillCreekr

I have one sprite which I want to make invisible in the parts where another specific sprite node overlaps it.
I’m sure it’s somehow done with shaders, but I have no idea how, and I found no cookie cutter solution so far …
All help is welcome.