How do I get a surface type by hit trace without using blueprint?

Hi when you say surface type what do you mean ? Do you mean the type of object the trace hit ?