Coding Standard Question

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.

Hello! You can use Animation Blendspaces for that - Blend Spaces Overview | Unreal Engine Documentation. Most often to configure animation you can use Anim Blueprint and create state machine. Take a look at this Animation Blueprints | Unreal Engine Documentation