Ah, yes. I understand well how to check if the player's character is moving. I mean a non-user controlled character, for example, an enemy AI.
While the enemy AI is advancing toward the player, his walking animation should play. When he reaches a certain point and stops, his walking animation should also stop and transition to a standing pose.
I should have worded the Subject line of my question more clearly. Thanks, though, for your reply.