# How to add Actor into the Level in c++?

**URL:** <https://forums.unrealengine.com/t/how-to-add-actor-into-the-level-in-c/497788>\
**Category:** Modding\
**Tags:** unreal-engine, UE4, UE4-27, question\
**Created:** [February 14, 2022, 5:17am UTC](https://forums.unrealengine.com/t/how-to-add-actor-into-the-level-in-c/497788 "2022-02-14T05:17:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TutuFusgg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TutuFusgg](https://forums.unrealengine.com/u/TutuFusgg)\
**Post date:** [February 14, 2022, 5:17am UTC](https://forums.unrealengine.com/t/how-to-add-actor-into-the-level-in-c/497788/1 "2022-02-14T05:17:13Z")

</div>

Instead of dragging an Actor icon into the viewport, I want to add an Actor into the current Level during editing the Level rather than playing the game. How can I do it? Are there any API about ULevel?

---

<div class="post-metadata">

**Author:** ![jwatte](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jwatte/32/744941_2.png) [@jwatte](https://forums.unrealengine.com/u/jwatte)\
**Post date:** [February 14, 2022, 5:31am UTC](https://forums.unrealengine.com/t/how-to-add-actor-into-the-level-in-c/497788/2 "2022-02-14T05:31:47Z")

</div>

Second hit on Google:

> **[Spawning Actors](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/ProgrammingWithCPP/UnrealArchitecture/Actors/Spawning/)**
>
> Methods of creating new instances of Actors in gameplay code.

(The first one was a YouTube video that presumably also will end up in the same spot.)
