How do I do this masking effect?

UE4 how do you do this effect?

Seriously, what?

Are you talking aboiut Custom Depth Stencil?