# Repaint(RepaintFlags)

> Repaint the IMGUI elements in the Inspector.

## Definition

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

```csharp
public void Repaint(RepaintFlags flags)
```

### Parameters

**** (\[RepaintFlags]\(/engine/7000.0/script-reference/unityeditor/terraintools/repaintflags)): Indicates whether to repaint the Inspector UI, the Scene view, or both.
