How do I get the type or name of the component that I've hit?

How do I get the type or name of the component that I’ve hit?

Like this:
Capture.PNG

Make sure to check “Simulation generates hit events” on your actor and setup collision.