# variantPriority

> The variant priority defines the order that tools are displayed in when they are displayed in a ToolAttribute.variantGroup dropdown.

## Definition

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

```csharp
public int variantPriority { get; set; }
```

### Remarks

Tools are sorted in ascending order, with the lowest values at the top of the list.

The default priority is [ToolAttribute.defaultPriority](/engine/6000.6/script-reference/unityeditor/editortools/toolattribute/defaultpriority.md).
