Get Actor Component reference

I have created an actor component and I want to store in it a reference of a static mesh of the actor to which the component is attached. How can I do that?

Reference:


In the image shown above, the circled item on the left shows the actor component, the circled item on the right shows the variable I want to store a reference, and the arrow on the left shows what exactly I want to store. The problem is that the variable I’m exposing is getting everything from the project instead of the reference I want to store.

Maybe try creating a variable of that type and set the default to your actor in question then get it and use it where need be… Or you can set that actor in that variable somewhere in your logic.