# MainToolbarDockPosition

> Use this enum to specify the default dock position of the element: the left, the middle, or the right.

## Definition

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

```csharp
public enum MainToolbarDockPosition
```

## Remarks

Additional Resources: [MainToolbarElementAttribute](/engine/6000.6/script-reference/unityeditor/toolbars/maintoolbarelementattribute.md).

## Fields

| Value                                                                                            | Description                                    |
| ------------------------------------------------------------------------------------------------ | ---------------------------------------------- |
| [Left](/engine/6000.6/script-reference/unityeditor/toolbars/maintoolbardockposition/left.md)     | Specifies the left dock of the main toolbar.   |
| [Middle](/engine/6000.6/script-reference/unityeditor/toolbars/maintoolbardockposition/middle.md) | Specifies the middle dock of the main toolbar. |
| [Right](/engine/6000.6/script-reference/unityeditor/toolbars/maintoolbardockposition/right.md)   | Specifies the right dock of the main toolbar.  |
