# DisabledScope(bool)

> Create a new DisabledScope and begin the corresponding group.

## Definition

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

```csharp
public DisabledScope(bool disabled)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Boolean specifying if the controls inside the group should be disabled.
