# updateUpAxis

> Allows you to specify whether the agent should be aligned to the up-axis of the NavMesh or link that it is placed on.

## Definition

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

```csharp
public bool updateUpAxis { get; set; }
```

### Remarks

When this value is set to true, the agent will always be aligned to the local up-axis of the NavMesh or link that it is currently on. When set to false, the agent’s orientation is unaffected by the orientation of the NavMesh.
