npc move when playing walk animation?

Hi i made a basic npc, she has a follow script that makes her follow you once you get close enought to her. She also has a animator that makes her play an idle animation and a run animation.
The problem is that when she plays the run animation, she dosnt move at all. Could anyone help me with making it so the npc could move forward while playing the walk animation?
sorry if i made it sound complicated

You don’t need to link the movement to any animations playing. Just play the run animation, and at the same time use Transform.Lerp or whatever to make her move through the world. If you want to find out how to make objects move, check the Unity Scripting API for Transform.Translate, Vector3.Lerp, Vector3.MoveTowards.