# How do you spawn characters using Python?

**URL:** <https://forums.unrealengine.com/t/how-do-you-spawn-characters-using-python/146003>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [June 17, 2020, 5:31pm UTC](https://forums.unrealengine.com/t/how-do-you-spawn-characters-using-python/146003 "2020-06-17T17:31:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PixelMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PixelMaster](https://forums.unrealengine.com/u/PixelMaster)\
**Post date:** [June 17, 2020, 5:31pm UTC](https://forums.unrealengine.com/t/how-do-you-spawn-characters-using-python/146003/1 "2020-06-17T17:31:56Z")

</div>

Hi,

I’m testing out the Python API for Unreal Engine and it looks very promising. Problem is the lack of examples is making it a bit difficult to move things at a steady speed.

So, I created a Character BP called James. The JamesBP has the skeletal mesh, animation bp, etc all setup.

How do I spawn it in the Level using Python?

It’s probably something like below but I’m not sure.

```auto

actor_to_spawn = wtf?
unreal.EditorLevelLibrary().spawn_actor_from_class(actor_to_spawn.static_class(), [0, 0, 124])

```

---

<div class="post-metadata">

**Author:** ![PixelMaster](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PixelMaster](https://forums.unrealengine.com/u/PixelMaster)\
**Post date:** [June 17, 2020, 5:44pm UTC](https://forums.unrealengine.com/t/how-do-you-spawn-characters-using-python/146003/2 "2020-06-17T17:44:02Z")

</div>

Ok, I found the solution. More code examples would be really helpful though.

```auto

actor_to_spawn = unreal.load_asset("/Game/Actors/JamesBP")
unreal.EditorLevelLibrary().spawn_actor_from_object(actor_to_spawn, [0, 0, 124])

```
