Line trace: how to get hit material?

Yeah, drag and dropping from the content browser onto a static mesh works too. Any idea where that could be implemented?