# How to move NavMesh Agent by animation?

What's the best way to create a simple moving navmesh agent with animation? (e.g. a human enemy running to player)

I have run animation that moves the enemy

public void Run ()
{
animator.SetFloat ("Speed", 1f);
}


but I am not sure how to combine it with navmesh.

In one tutorial I saw Standard Assets ThirdPersonController .Move(...) used for that, but I am not sure if I should use it for that purpose, as I understand it was intended only for player characters?

Or should I use animation that runs in place?