# SelectPaintToolWithOverlays<T>()

> Changes the selected Terrain paint tool if that paint tool is a TerrainPaintToolWithOverlays.

## Definition

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

```csharp
public void SelectPaintToolWithOverlays<T>() where T : TerrainPaintToolWithOverlays<T>
```

### Remarks

Selects the Terrain paint tool with overlays implemented by type T.
