# DrawingScope

> Create a new DrawingScope and set Handles.color and/or Handles.matrix to the specified values.

## Definition

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

## DrawingScope(Color)

Create a new DrawingScope and set [Handles.color](/engine/6000.6/script-reference/unityeditor/handles/color.md) and/or [Handles.matrix](/engine/6000.6/script-reference/unityeditor/handles/matrix.md) to the specified values.

```csharp
public DrawingScope(Color color)
```

### Parameters

**** (\[Color]\(/engine/6000.6/script-reference/unityengine/color)): The color to use for displaying [Handles](/engine/6000.6/script-reference/unityeditor/handles.md) inside the scope block.

## DrawingScope(Matrix4x4)

Create a new DrawingScope and set [Handles.color](/engine/6000.6/script-reference/unityeditor/handles/color.md) and/or [Handles.matrix](/engine/6000.6/script-reference/unityeditor/handles/matrix.md) to the specified values.

```csharp
public DrawingScope(Matrix4x4 matrix)
```

### Parameters

**** (\[Matrix4x4]\(/engine/6000.6/script-reference/unityengine/matrix4x4)): The matrix to use for displaying [Handles](/engine/6000.6/script-reference/unityeditor/handles.md) inside the scope block.

## DrawingScope(Color, Matrix4x4)

Create a new DrawingScope and set [Handles.color](/engine/6000.6/script-reference/unityeditor/handles/color.md) and/or [Handles.matrix](/engine/6000.6/script-reference/unityeditor/handles/matrix.md) to the specified values.

```csharp
public DrawingScope(Color color, Matrix4x4 matrix)
```

### Parameters

**** (\[Color]\(/engine/6000.6/script-reference/unityengine/color)): The color to use for displaying [Handles](/engine/6000.6/script-reference/unityeditor/handles.md) inside the scope block.**** (\[Matrix4x4]\(/engine/6000.6/script-reference/unityengine/matrix4x4)): The matrix to use for displaying [Handles](/engine/6000.6/script-reference/unityeditor/handles.md) inside the scope block.
