# TerrainToolShortcutContext

> The shortcut context that is active while editing Terrain.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.TerrainTools](/engine/6000.6/script-reference/unityeditor/terraintools.md)
* **Assembly:** UnityEditor
* **Implements:** [IShortcutContext](/engine/6000.6/script-reference/unityeditor/shortcutmanagement/ishortcutcontext.md)

```csharp
public class TerrainToolShortcutContext : IShortcutContext
```

## Remarks

Use this context to define shortcut hotkeys that are active only while editing Terrain.

## Methods

| Method                                                                                                                                            | Description                                                                                   |
| ------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| [SelectPaintTool](/engine/6000.6/script-reference/unityeditor/terraintools/terraintoolshortcutcontext/selectpainttool.md)                         | Changes the selected Terrain paint tool.                                                      |
| [SelectPaintToolWithOverlays](/engine/6000.6/script-reference/unityeditor/terraintools/terraintoolshortcutcontext/selectpainttoolwithoverlays.md) | Changes the selected Terrain paint tool if that paint tool is a TerrainPaintToolWithOverlays. |
