# heightmapPixelError

> An approximation of how many pixels the terrain will pop in the worst case when switching lod.

## Definition

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

```csharp
public float heightmapPixelError { get; set; }
```

### Remarks

A higher value reduces the number of polygons drawn.

### Examples

```csharp
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        Terrain.activeTerrain.heightmapPixelError = 10;
    }
}
```
