# How to Spawn AI via Blueprint?

**URL:** <https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522>\
**Category:** AI\
**Tags:** spawn, spawn-actor-from-cla, unreal-engine, Blueprint, question\
**Created:** [April 17, 2016, 11:00pm UTC](https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522 "2016-04-17T23:00:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e2eab6e11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e2eab6e11](https://forums.unrealengine.com/u/anonymous_user_e2eab6e11)\
**Post date:** [April 17, 2016, 11:00pm UTC](https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522/1 "2016-04-17T23:00:30Z")

</div>

So, I’ve been Googling this for almost a month, and still haven’t found anything. At first, I was trying to use the “Spawn Actor from Class node,” and that didn’t work, despite spawning a default controller with it. Next, I used the “Spawn AI from Class” node, which seemed to work a lot better. However, the AI just runs in place rather than running towards me, a problem I had never experienced when I simply dragged the AI into the level. So, does anyone know how to spawn a functioning AI via level (or any) blueprint?

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [April 18, 2016, 12:40am UTC](https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522/2 "2016-04-18T00:40:10Z")

</div>

Hey there,

spawning the AI via the **SpawnAIFromClass** node should totally work. But you might want to check the following setting, which you can find in the _ClassDefaults_ of your AI Character/Pawn:

[http://puu.sh/omg76/daf3de40f7.png](http://puu.sh/omg76/daf3de40f7.png)

If you look closely, you can see the **Auto Posses AI** setting. If this is set to _Placed In World_ you might want to set it to _Placed in World OR Spawned_.

[http://puu.sh/omg8d/1690189372.png](http://puu.sh/omg8d/1690189372.png)

If this doesn’t help, you might need to share some pictures of your settings and Blueprints with me (:

Cheers!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e2eab6e11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e2eab6e11](https://forums.unrealengine.com/u/anonymous_user_e2eab6e11)\
**Post date:** [April 18, 2016, 1:13am UTC](https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522/3 "2016-04-18T01:13:03Z")

</div>

Sweet! It actually works now. Thanks!

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [April 18, 2016, 1:16am UTC](https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522/4 "2016-04-18T01:16:09Z")

</div>

Awesome (: make sure to **accept** Answer that solved your problem, so others see that it’s resolved!

---

<div class="post-metadata">

**Author:** ![MichaelGotti](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MichaelGotti](https://forums.unrealengine.com/u/MichaelGotti)\
**Post date:** [March 25, 2023, 1:57pm UTC](https://forums.unrealengine.com/t/how-to-spawn-ai-via-blueprint/354522/5 "2023-03-25T13:57:53Z")

</div>

thx!
