---
name: "get3DENEntity"
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/get3DENEntity
revid: 378362
updated: 2026-04-03T16:26:44Z
---

# get3DENEntity

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

## Description

Returns Eden Entity based on its Eden ID.

## Syntax

```sqf
get3DENEntity ID
```

**Parameters:**

- `ID`: [Number](../topics/Number.md) - Eden ID

**Returns:** Eden Entity or [Number](../topics/Number.md)
- If the *ID* points to an Eden Entity the entity is returned
- If it points to a Eden Editor: Layer or Eden Editor: Comment the *ID* is returned
- If no entity with given *ID* exists `-1` is returned

## Examples

### Example 1

```sqf
myEntity = get3DENEntity 1;
```

## See also

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

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