---
name: "tvSetPictureRight"
type: command
status: ok
groups: ["GUI Control - Tree View"]
arma3_since: "1.62"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/tvSetPictureRight
revid: 377788
updated: 2026-01-03T01:40:00Z
---

# tvSetPictureRight

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

## Description

Sets right picture on the tree view item defined by path.

## Syntax

### Syntax 1

```sqf
tvSetPictureRight [idc, path, name]
```

**Parameters:**

- `idc`: [Number](../topics/Number.md)
- `path`: [Tree View Path](../topics/Tree_View_Path.md)
- `name`: [String](../topics/String.md) - picture texture

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

### Syntax 2

```sqf
control tvSetPictureRight [path, name]
```

**Parameters:**

- `control`: [Control](../topics/Control.md)
- `path`: [Tree View Path](../topics/Tree_View_Path.md)
- `name`: [String](../topics/String.md) - picture texture

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

## Examples

### Example 1

```sqf
tvSetPictureRight [101, [0], "picture"];
```

### Example 2

```sqf
_ctrl tvSetPictureRight [[0], "picture"];
```

## See also

[tvPictureRight](../commands/tvPictureRight.md) · [tvSetPicture](../commands/tvSetPicture.md) · [tvPicture](../commands/tvPicture.md)

## Community notes

**R3vo** — 2021-04-05

> [!NOTE]
> Adding pictures to lists is very slow. In order to prevent the filling of the list to be slowed down, add the pictures in the **scheduled** environment.
> One drawback of that method is, that sorting the entries is not easily possible.
>
> ```sqf
> private _path = _ctrlTV tvAdd [[], "Some Entry"];
> [_ctrlTV, _path] spawn
> {
>     (_this select 0) tvSetPictureRight [[_this select 1], "someImage.paa"];
> };
> ```

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