---
name: "ctrlSetDisabledColor"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlSetDisabledColor
revid: 379525
updated: 2026-10-31T00:50:26Z
---

# ctrlSetDisabledColor

*Command · GUI Control · Arma 3 v1.00*

## Description

Sets the colorDisabled attribute of a control.

## Syntax

```sqf
ctrl ctrlSetDisabledColor color
```

**Parameters:**

- `ctrl`: [Control](../topics/Control.md)
- `color`: [Color (RGBA)](../topics/Color.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_control ctrlSetDisabledColor [0.5, 0.5, 0.5, 0.5];
```

## See also

[ctrlSetActiveColor](../commands/ctrlSetActiveColor.md) · [ctrlSetBackgroundColor](../commands/ctrlSetBackgroundColor.md) · [ctrlTextColor](../commands/ctrlTextColor.md)

<sub>Source: [BI Community Wiki — ctrlSetDisabledColor](https://community.bistudio.com/wiki/ctrlSetDisabledColor) (revision 379525).</sub>
