Get clicked actor

I currently have the ability to use ActorOnClicked to print a string when someone is clicked. But, what I want is to be able to get variables off the actor that was clicked inside of the actor (character) that did the clicking.

Will I need to use a raycast for this? Or is there a built in event to handle this

it sounds like a situation where you would need to use casting. this would also mean that you would need to know the actor type and the variables your looking to get. theres probably a more dynamic and complex way to do this but its beyond my knowledge at the moment.

whats the situation anyways? like what types of actors are you clicking and what kind of variables are you trying to get.