Get the class from an actor reference?

Okay, so I have a ray trace and the actor coming from it is set as “whatAmILookingAt?”. I am trying to get the item’s structure from it.


I obviously don’t want to use a “Cast to CanBeans” as it might not be a can of beans I am looking at. I’m probably doing something really dumb so feel free to point it out :slight_smile: