# GetPropertyHeight(SerializedProperty, GUIContent)

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

## Definition

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

```csharp
public virtual float GetPropertyHeight(SerializedProperty property, GUIContent label)
```

### Parameters

**** (\[SerializedProperty]\(/engine/6000.5/script-reference/unityeditor/serializedproperty)): The SerializedProperty to make the custom GUI for.**** (\[GUIContent]\(/engine/6000.5/script-reference/unityengine/guicontent)): The label of this property.

### Returns

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

### Remarks

The default is one line high.
