---
title: TerrainSculptOperation
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/terrainsculptoperation
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptoperation.md
last_updated: 2026-10-20
generated_at: 2026-11-11T12:59:43.942Z
locale: en-us
---

# TerrainSculptOperation

> How TerrainEditUtility.SculptHeights changes the heights inside a region.

## Definition

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

```csharp
public enum TerrainSculptOperation
```

## Fields

| Value                                                                                                 | Description                                                                                                                                                                                               |
| ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Flatten](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptoperation/flatten.md) | Flattens the heights to the height of the region that [TerrainSculptSettings.flattenReference](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptsettings/flattenreference.md) picks. |
| [Lower](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptoperation/lower.md)     | Lowers the heights by [TerrainSculptSettings.amount](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptsettings/amount.md).                                                           |
| [Raise](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptoperation/raise.md)     | Raises the heights by [TerrainSculptSettings.amount](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptsettings/amount.md).                                                           |
| [Set](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptoperation/set.md)         | Sets the heights to [TerrainSculptSettings.height](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptsettings/height.md).                                                             |
| [Smooth](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptoperation/smooth.md)   | Averages each height with its neighbors within [TerrainSculptSettings.smoothRadius](/engine/7000.0/script-reference/unityeditor/terraintools/terrainsculptsettings/smoothradius.md).                      |
