# Dynamically spawn enemy AI in blueprint

**URL:** <https://forums.unrealengine.com/t/dynamically-spawn-enemy-ai-in-blueprint/339726>\
**Category:** AI\
**Tags:** spawn, actor, unreal-engine, dynamic, Blueprint, question\
**Created:** [November 26, 2015, 5:31am UTC](https://forums.unrealengine.com/t/dynamically-spawn-enemy-ai-in-blueprint/339726 "2015-11-26T05:31:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Majkl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Majkl](https://forums.unrealengine.com/u/Majkl)\
**Post date:** [November 26, 2015, 5:31am UTC](https://forums.unrealengine.com/t/dynamically-spawn-enemy-ai-in-blueprint/339726/1 "2015-11-26T05:31:17Z")

</div>

I’m currently making an endless runner type game. Tiles spawn randomly once the player starts, so initially there is nothing in the world. I want some tiles to have enemy AI on them, and each tile is stored in a separate blueprint. How do I go about setting up a Nav Mesh in the blueprint so that when the player gets close to the enemy, they move towards the player? Just simple zombie move-to-location.

Thank you!
