# Sandbox.NavMeshAgent.MoveTo

```csharp
void MoveTo(Vector3 targetPosition)
```

Navigate to the position

### Parameters

- `targetPosition` (`Vector3`)

Declared in [Sandbox.NavMeshAgent](/api/Sandbox.NavMeshAgent).
Assembly: `Sandbox.Engine`.
