---
title: heightRange
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/terraintools/terrainlayerpaintrule/heightrange
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/terraintools/terrainlayerpaintrule/heightrange.md
last_updated: 2026-10-20
generated_at: 2026-11-11T14:52:27.233Z
locale: en-us
---

# heightRange

> Paint only where the height, in meters above the base of the Terrain, lies within [x, y]. Unbounded by default.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.TerrainTools](/engine/7000.0/script-reference/unityeditor/terraintools.md)
* **Assembly:** UnityEditor

```csharp
public Vector2 heightRange { get; set; }
```
