You have to record their animation, there is a button to do that.
You have to create a new NPC icon on the timeline, select an existing NPC (already spawned before) and press on the icon to record the movements, then follow the on-screen instructions.