Is it possible to run an specific npc Animation when moving?

But will not the sequence stop when the NPC moves?