# priority

> The order to display the menu item in a menu.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public int priority
```

### Remarks

This field stores the value set by the `itemName` parameter passed to the constructor. The field is public only for the benefit of Unity systems. Initialize it via the constructor parameter and don't modify it again.
