# GetMaximumHeightError()

> Returns an array of tesselation maximum height error values per renderable terrain patch. The returned array can be modified and passed to TerrainData.OverrideMaximumHeightError.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TerrainModule

```csharp
public float[] GetMaximumHeightError()
```

### Returns

| Type                                                              | Description                                 |
| ----------------------------------------------------------------- | ------------------------------------------- |
| [float\[\]](https://learn.microsoft.com/dotnet/api/system.single) | Float array of maximum height error values. |
