---
name: "tvSetSelectColor"
type: command
status: ok
groups: ["GUI Control - Tree View"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/tvSetSelectColor
revid: 377360
updated: 2026-01-02T06:40:27Z
---

# tvSetSelectColor

*Command · GUI Control - Tree View · Arma 3 v1.00*

## Description

Sets the select color of given path.

## Syntax

```sqf
ctrl tvSetSelectColor [path, color]
```

**Parameters:**

- `ctrl`: [Control](../topics/Control.md)
- `path`: [Array](../topics/Array.md) of [Number](../topics/Number.md)s - path of the item
- `color`: [Color (RGBA)](../topics/Color.md)

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

## Examples

### Example 1

```sqf
_control tvSetSelectColor [[0, 0], [1,1,1,0.5]];
```

## See also

[tvSetColor](../commands/tvSetColor.md)

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