# DrawPreview(Rect)

> This is the first entry point for Preview Drawing.

## Definition

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

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

### Parameters

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

### Remarks

The default implementation will draw a grid of previews if there are multiple targets available. Override this method if you want to change this behaviour.
