# priority

> Define a priority amongst contextual menu providers in case several target the same type.

## Definition

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

> **Warning:**
>
> **Deprecated.** IRenderPipelineGraphicsSettingsContextMenu is deprecated and will be removed in a future release. Use IRenderPipelineGraphicsSettingsContextMenu2 instead. #from(6000.0)

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

### Remarks

The smaller the priority, the sooner it is used on the menu. Default value is 0.
