BP: How to get a reference to the Actor from an Actor Component?


I need to create an Actor Component that I can drop on various kinds of Actors and which would react differently according to the class of the Actor. How can I get a reference to the actor instance on which the Actor Component has been dropped, this from inside of a function of the Actor Component?

In other words: I created an Actor Component with a function displaying the name of the parent actor. I drop this component on an actor instance in the scene, so this actor now holds it. When I select the actor and click on the actor component I would like to display the name of this actor by checking a checkbox this component has. The thing is I just don’t know how to reach the parent actor from the component. I tried Get Owner, even recursive ones, but without success.

Any tip would be greatly appreciated. Thank you very much.

same question here.