# ui.Textbox.setDisabled

<br />

Sets whether the textbox is disabled.

<br />

Returns this textbox.

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

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