---
name: "set3DENLayer"
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/set3DENLayer
revid: 377849
updated: 2026-01-03T11:30:21Z
---

# set3DENLayer

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

## Description

Set layer for Eden Entity.

## Syntax

```sqf
entity set3DENLayer layerID
```

**Parameters:**

- `entity`: Eden Entity
- `layerID`: [Number](../topics/Number.md) - layer ID as returned by [add3DENLayer](../commands/add3DENLayer.md) command

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if the entity was moved succesfully

## Examples

### Example 1

```sqf
private _myLayer = -1 add3DENLayer "CTRG";
player set3DENLayer _myLayer;
```

### Example 2

```sqf
player set3DENLayer -1; // Move to root
```

## See also

[add3DENLayer](../commands/add3DENLayer.md) · [remove3DENLayer](../commands/remove3DENLayer.md) · [get3DENLayerEntities](../commands/get3DENLayerEntities.md)

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