# defaultDockIndex

> Specify the order in which custom elements are docked in the main toolbar.

## Definition

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

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

### Remarks

The left and middle docks place lower index elements further left than a higher index element. The right dock places lower index element further right than a higher index element. Unity reserves indices of less than or equal to 100 for built-in elements.
