# Test-NPC doesn't move and fails to follow player

**URL:** <https://forums.unrealengine.com/t/test-npc-doesnt-move-and-fails-to-follow-player/2143467>\
**Category:** AI\
**Tags:** unreal-engine, question\
**Created:** [November 22, 2024, 2:33pm UTC](https://forums.unrealengine.com/t/test-npc-doesnt-move-and-fails-to-follow-player/2143467 "2024-11-22T14:33:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akutos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Akutos](https://forums.unrealengine.com/u/Akutos)\
**Post date:** [November 22, 2024, 2:33pm UTC](https://forums.unrealengine.com/t/test-npc-doesnt-move-and-fails-to-follow-player/2143467/1 "2024-11-22T14:33:26Z")

</div>

Hello, absolute noob here :\_:

I’m currently learning how to implement NPCs with AI-Movementin UE5, for that I tried to replicate some tutorials where the NPC should follow the player character. Only Problem is, my NPC won’t move.

Here’s the code I used:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/0/f80e275ea55ed3ef4f8f7843ebe8705edb172b87.png)  
I set up a Nav-Mesh, the NPC is autoposessed by AI when placed in the world, and I’m currently unaware of other settings that need to bei set to make it work.

Thank you fpr the help :‿:

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 22, 2024, 3:10pm UTC](https://forums.unrealengine.com/t/test-npc-doesnt-move-and-fails-to-follow-player/2143467/2 "2024-11-22T15:10:22Z")

</div>

> [@Akutos](#):
>
> I set up a Nav-Mesh, the NPC is autoposessed by AI when placed in the world

That’s pretty much it tbh, like so, right?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/1/9/61969e8f211acc61bf3873a57cfd347c9164688e.png)

Things to double check regarding what we cannot see atm:

- is the navmesh actually there?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/e/24ec9dab7729c261b0df105d4cb8d20fc92eef6f.jpeg)

- is the NPC actually placed in the scene or spawned dynamically?
- can the NPC access the navmesh?
- can the character access the navmesh?
- are we possessing a playable `Character` class (as opposed to a simple `Pawn`)?
