# priority

> Priority for sorting the added commands in the contextual menu among the other commands.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Rendering](/engine/6000.5/script-reference/unityeditor/rendering.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
int priority { get; }
```

### Remarks

The smaller the priority, the higher it's used in the menu.

The default value is 0.
