---
name: "set3DENAttachedCursorEntity"
type: command
status: ok
groups: ["Eden Editor"]
arma3_since: "2.18"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/set3DENAttachedCursorEntity
revid: 369759
updated: 2024-10-08T15:08:56Z
---

# set3DENAttachedCursorEntity

*Command · Eden Editor · Arma 3 v2.18*

## Description

Attach an entity to the Eden Editor cursor.

## Syntax

```sqf
set3DENAttachedCursorEntity entityHashMap
```

**Parameters:**

- `entityHashMap`: [HashMap](../topics/HashMap.md) - in format [["type", entityType], otherOptions] where *entityType* can be one of:

  | type | options<br>case-sensitive! |
  |---|---|
  | "object" | - "classname": [String](../topics/String.md) - object classname; see Arma 3: Assets |
  | "marker" | - "classname": [String](../topics/String.md) - see marker classes<br>- "markershape": [String](../topics/String.md) - can be one of:<br>  - "icon"<br>  - "rectangle"<br>  - "ellipse"<br>> [!IMPORTANT]<br>> "polyline" is **not** supported. |
  | "trigger" | - "classname": [String](../topics/String.md) - object classname; from CfgNonAIVehicles with simulation="detector". Usually "EmptyDetector" |
  | "module" | - "classname": [String](../topics/String.md) - object classname; |
  | "waypoint" | - "classname": [String](../topics/String.md) - classname; from CfgWaypoints |

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

## Examples

### Example 1

```sqf
set3DENAttachedCursorEntity createHashMapFromArray [["type", "object"], ["classname", "B_Survivor_F"]];
```

### Example 2

```sqf
set3DENAttachedCursorEntity createHashMapFromArray [["type", "marker"], ["classname", "mil_pickup"], ["markertype", "icon"]];
```

## See also

Eden Editor: Object · [typeOf](../commands/typeOf.md)

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