# rotation

> Gets or sets the orientation of the NavMesh data.

## Definition

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

```csharp
public Quaternion rotation { get; set; }
```

### Remarks

The default value is [\_identity](/engine/6000.7/script-reference/unityengine/quaternion/identity.md) - that is, the NavMesh up axis is the same as the world space y-axis.
