# agentTypeID

> The agent type ID the NavMesh will be baked for.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.AI](/engine/6000.7/script-reference/unityengine/ai.md)
* **Assembly:** UnityEngine.AIModule

```csharp
public int agentTypeID { get; set; }
```

### Remarks

Each [NavMeshAgent](/engine/6000.7/script-reference/unityengine/ai/navmeshagent.md) or [NavMeshQueryFilter](/engine/6000.7/script-reference/unityengine/ai/navmeshqueryfilter.md) can only use a NavMesh which is built for its agent type; it is the ID that is matched.
