# activeTerrain

> The active Terrain. This is a convenient function to get to the main Terrain in the Scene.

## Definition

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

```csharp
public static Terrain activeTerrain { get; }
```

### Remarks

If you have multiple active Terrains, this returns only one of them. If you need all the terrains in the scene, use [Terrain.activeTerrains](/engine/6000.6/script-reference/unityengine/terrain/activeterrains.md) instead. A terrain is active when the component that represents it is enabled and the GameObject it is on is active.
