LineTrace enables CustomDepth if hits StaticMesh

Alderbit explains this here Show Object Interaction - Community & Industry Discussion - Epic Developer Community Forums