How to change the color of the overlap area of 2 sprites?

I need a solution to change the colour of the overlap area of 2 shapes in real time (since the shapes are draggable). How can I do this in Unity? I’m quite new to 2D and shaders tho.

Here is my expected result:

Thank you :slight_smile:

looks like you’d need a ‘subtract’ blend. white minus white = black?

did you figure this out?