# agentHeight

> The height of the agent for baking in world units.

## Definition

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

```csharp
public float agentHeight { get; set; }
```

### Remarks

NavMesh will be removed from areas with a ceiling  lower than this height. The build process does some quantization, so make sure that spaces you intend to be walkable have some extra head room.
