Expose a Static Mesh Component from Code

You simply need to initialize your component in your actor constructor and attach it to root.
In this tutorial, he made it for a camera but, it’s exactly the same idea:

I hope this help you :slight_smile: