---
name: "set3DENSelected"
type: command
status: ok
groups: ["Eden Editor"]
arma3_since: "1.56"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/set3DENSelected
revid: 352152
updated: 2024-02-01T23:25:20Z
---

# set3DENSelected

*Command · Eden Editor · Arma 3 v1.56*

## Description

Changes selection in Eden Editor to what is inside entities array. 

> [!WARNING]
> This command will trigger the 3DEN event handler **"OnSelectionChange"**. Do not use it inside this event handler!

## Syntax

```sqf
set3DENSelected entities
```

**Parameters:**

- `entities`: [Array](../topics/Array.md) of Eden Entity or Eden ID

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

## Examples

### Example 1

```sqf
set3DENSelected [0,5,3,6,7,12];
```

## See also

[get3DENMouseOver](../commands/get3DENMouseOver.md) · [all3DENEntities](../commands/all3DENEntities.md) · [collect3DENHistory](../commands/collect3DENHistory.md) · [get3DENEntityID](../commands/get3DENEntityID.md) · [get3DENSelected](../commands/get3DENSelected.md) · [set3DENObjectType](../commands/set3DENObjectType.md)

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