# Coding Standard Question

**URL:** <https://forums.unrealengine.com/t/coding-standard-question/479093>\
**Category:** Character & Animation\
**Tags:** node, sliding, unreal-engine, Code, question\
**Created:** [February 20, 2021, 1:39pm UTC](https://forums.unrealengine.com/t/coding-standard-question/479093 "2021-02-20T13:39:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tihS\_epA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tihS\_epA](https://forums.unrealengine.com/u/tihS_epA)\
**Post date:** [February 20, 2021, 1:39pm UTC](https://forums.unrealengine.com/t/coding-standard-question/479093/1 "2021-02-20T13:39:07Z")

</div>

I have a very simple basic question. What is the standard for coding 2 animations and a Idle/Walk/Run sequence. I have  
the Idle/Walk/Run working on its own. I have each animation working on its own. BUT when I try to run one animation and then the Idle/Walk/Run sequence during the Walk the feet don’t move and I get a sliding/gliding effect. I would like to call each animation randomly.

Should I code the animations in the state machine? Should I use a Play Animation node then call the Idle/Walk/Run state machine?

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [February 20, 2021, 3:16pm UTC](https://forums.unrealengine.com/t/coding-standard-question/479093/2 "2021-02-20T15:16:49Z")

</div>

Hello! You can use Animation Blendspaces for that - [Blend Spaces Overview | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/AnimatingObjects/SkeletalMeshAnimation/Blendspaces/Overview/index.html). Most often to configure animation you can use Anim Blueprint and create state machine. Take a look at this [Animation Blueprints | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/AnimatingObjects/SkeletalMeshAnimation/AnimBlueprints/index.html)
