---
name: "get3DENEntityID"
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/get3DENEntityID
revid: 378236
updated: 2026-03-20T13:50:55Z
---

# get3DENEntityID

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

## Description

Returns unique index of an Eden Entity. This number remains the same even after saving and loading the scenario. ´

> [!NOTE]
> Since Arma 3 v2.22 this command also returns the IDs of Eden Entities of type Object, Trigger, Group and Logic during [preview](../commands/is3DENPreview.md).

## Syntax

```sqf
get3DENEntityID entity
```

**Parameters:**

- `entity`: Eden Entity or Eden ID

**Returns:** [Number](../topics/Number.md) - Eden ID If ID is not available, -1 is returned

## Examples

### Example 1

```sqf
myID = get3DENEntityID player;
```

## See also

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

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