# 2D AI Movement Animation

**URL:** <https://forums.unrealengine.com/t/2d-ai-movement-animation/2546980>\
**Category:** Blueprint\
**Tags:** ue4-editor, unreal-engine, Blueprint, question\
**Created:** [June 8, 2025, 3:39pm UTC](https://forums.unrealengine.com/t/2d-ai-movement-animation/2546980 "2025-06-08T15:39:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GlasyaLabolasHun1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GlasyaLabolasHun1](https://forums.unrealengine.com/u/GlasyaLabolasHun1)\
**Post date:** [June 8, 2025, 3:39pm UTC](https://forums.unrealengine.com/t/2d-ai-movement-animation/2546980/1 "2025-06-08T15:39:53Z")

</div>

Hi, i working on a Top-Down 2D pixel game but I have some problems setting up the AI animations and rotations with 4 directional movement. I created the player character with Enhanced Input following this tutorial: [https://www.youtube.com/watch?v=tRRXzKw5XUg](https://www.youtube.com/watch?v=tRRXzKw5XUg)  
It works fine, but I just can’t set up the rotation and movement for the NPC AI.  
I saw some videos where they rotate the TileMap 90 degrees and set the characters flying but i dont want to make it that way.  
I simply want it to turn left, right, up and down based on the direction of the movement.  
Can somebody help me, Please?
