# Repaint(RepaintFlags)

> Instructs the Editor to repaint the tool UI and/or the scene view.

## Definition

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

```csharp
void Repaint(RepaintFlags flags = RepaintFlags.UI)
```

### Parameters

**** (\[RepaintFlags]\(/engine/6000.6/script-reference/unityeditor/terraintools/repaintflags)): What to repaint.
