# DrawPreview(Rect)

> The first entry point for Preview Drawing.

## Definition

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

```csharp
public virtual void DrawPreview(Rect previewArea)
```

### Parameters

**** (\[Rect]\(/engine/6000.6/script-reference/unityengine/rect)): The available area to draw the preview.

### Remarks

Draws a grid of previews if there are multiple targets available. Override this method if you want to customize this behaviour.
