# Sandbox.NavMeshAgent.SetAgentPosition

```csharp
void SetAgentPosition(Vector3 position)
```

If you want to move the agent from one position to another

### Parameters

- `position` (`Vector3`)

Declared in [Sandbox.NavMeshAgent](/api/Sandbox.NavMeshAgent).
Assembly: `Sandbox.Engine`.
