---
name: "create3DENEntity"
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/create3DENEntity
revid: 377519
updated: 2026-01-02T06:52:05Z
---

# create3DENEntity

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

## Description

Create new Eden Entity. Used for creating individual entities; to create a composition (e.g., infantry squad), use [create3DENComposition](../commands/create3DENComposition.md) and to create a layer use [add3DENLayer](../commands/add3DENLayer.md).

This is the only way to add new editable entities to an Eden Editor scenario. Other 'create' commands like [createVehicle](../commands/createVehicle.md) or [createUnit](../commands/createUnit.md) will still work, but the resulting entity will not be editable.

## Syntax

### Syntax 1

```sqf
create3DENEntity [mode, class, position, isEmpty]
```

**Parameters:**

- `mode`: [String](../topics/String.md) - can be "Object", "Trigger", "Waypoint", "Logic", "Marker" or Arma 3 v2.14 "Comment"
- `class`: [String](../topics/String.md) - entity class, defined in one of the following classes:
  - `CfgVehicles` - objects and logic entities
  - `CfgNonAIVehicles` - triggers
  - `CfgWaypoint` - waypoints
  - `CfgMarkers` - markers
- `position`: [Position](../topics/Position.md)
- `isEmpty`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) [true](../commands/true.md) to create vehicle without crew

**Returns:** Eden Entity (Eden_ID for Comment)

### Syntax 2

```sqf
group create3DENEntity [mode, class, position]
```

**Parameters:**

- `group`: [Group](../topics/Group.md) - group in which an AI character or waypoint is created.
  - When missing for AI characters, a new group is created for them
  - When missing for waypoints, an error is logged and nothing is created
  - When used on any other mode, it is ignored and the entity is created as usual
- `mode`: [String](../topics/String.md) - can be "Object", "Trigger", "Waypoint", "Logic", "Marker" or Arma 3 v2.14 "Comment"
- `class`: [String](../topics/String.md) - entity class
- `position`: [Position](../topics/Position.md)

**Returns:** Eden Entity (Eden_ID for Comment)

## Examples

### Example 1

```sqf
dude1 = create3DENEntity ["Object", "B_Soldier_F", screenToWorld [0.5, 0.5]];
```

### Example 2

```sqf
dude2 = group dude1 create3DENEntity ["Object", "B_Soldier_AR_F", screenToWorld [0.5, 0.5]];
```

### Example 3

```sqf
myMarker = create3DENEntity ["Marker", "mil_warning", getPosATL player];
```

### Example 4

```sqf
mytrigger = create3DENEntity ["Trigger", "EmptyDetectorArea10x10", getPosATL player];
```

### Example 5

Arma 3 v2.06 Create a shape marker:

```sqf
m = create3DENEntity ["Marker", "", getPosATL player];    // default rectangular marker
m set3DENAttribute ["markerType", 1];                    // 0 - rectangle; 1 - ellipse
m set3DENAttribute ["brush", "DiagGrid"];
```

### Example 6

Arma 3 v2.14 Create a comment:

```sqf
myComment = create3DENEntity ["Comment", "loc_talk", [0,0,0]];
myComment set3DENAttribute ["name", "Title Here"];
myComment set3DENAttribute ["description", "Tooltip Here"];
```

## See also

[create3DENComposition](../commands/create3DENComposition.md) · [delete3DENEntities](../commands/delete3DENEntities.md) · [add3DENLayer](../commands/add3DENLayer.md)

## Community notes

**R3vo** — 2019-09-06

To create a waypoint, use the alternative syntax and pass the group which should receive it as the left-hand argument.

---

**POLPOX** — 2022-10-09

Due to an unknown reason, you cannot [create3DENEntity](../commands/create3DENEntity.md) animals, will cause a crash of the game.

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