how to add a StaticMeshActor by C++ when game play

i want to add StaticMeshActor when i play game by C++, but i don’t know the function how to make StaticMeshActor add Level .please

Hi @unreal_mask

Without giving you a very long winded answer, my advise would be that if you are currently unfamiliar with the Unreal API - just do this in Blueprint which will make life easier for you :slight_smile:

I highly recommend learning the API of Unreal through blueprint before transitioning to C++.