# defaultDockIndex

> Sets the defaultDockIndex to define where in a DockZone an Overlay is placed.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Overlays](/engine/6000.3/script-reference/unityeditor/overlays.md)
* **Assembly:** UnityEditor

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

### Remarks

Dock zones are presented in ascending order. E.g., an index of 1 in a Left aligned container is presented to the left of an [Overlay](/engine/6000.3/script-reference/unityeditor/overlays/overlay.md) with an index of 2.
