# DrawRange

> Draws the default LightEditor range widget.

## Definition

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

## DrawRange()

Draws the default [LightEditor](/engine/6000.6/script-reference/unityeditor/lighteditor.md) range widget.

```csharp
public void DrawRange()
```

## DrawRange(bool)

Draws the default [LightEditor](/engine/6000.6/script-reference/unityeditor/lighteditor.md) range widget.

> **Warning:**
>
> **Deprecated.** showAreaOptions argument for DrawRange(showAreaOptions) has been removed. Use DrawRange() instead.

```csharp
public void DrawRange(bool showAreaOptions)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;
