# ui.Checkbox.setDisabled

<br />

Sets whether the checkbox is disabled.

<br />

Returns this checkbox.

| Usage | Returns |
|---|---|
| `Checkbox.setDisabled(disabled)` | ui.Checkbox |

| Argument | Type | Details |
|---|---|---|
| this: `ui.checkbox` | ui.Checkbox | The ui.Checkbox instance. |
| `disabled` | Boolean | Whether the checkbox is disabled. |