# IconSizeScope(Vector2)

> Begin an IconSizeScope.

## Definition

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

```csharp
public IconSizeScope(Vector2 iconSizeWithinScope)
```

### Parameters

**** (\[Vector2]\(/engine/6000.5/script-reference/unityengine/vector2)): Size to be used for icons rendered as [GUIContent](/engine/6000.5/script-reference/unityengine/guicontent.md) within this scope.

### Remarks

Additional Resources: [EditorGUIUtility.SetIconSize](/engine/6000.5/script-reference/unityeditor/editorguiutility/seticonsize.md).
