# GetHeight()

> Override this method to specify how tall the GUI for this decorator is in pixels.

## Definition

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

```csharp
public virtual float GetHeight()
```

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) |             |

### Remarks

The default is one line high. See [DecoratorDrawer](/engine/6000.3/script-reference/unityeditor/decoratordrawer.md) for an example of how to use this.
