Making a Transparent Material which blocks everything behind It

Related to: hide part of mesh by one material? - Rendering - Unreal Engine Forums