---
name: "set3DENAttributes"
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/set3DENAttributes
revid: 321117
updated: 2022-05-13T14:15:26Z
---

# set3DENAttributes

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

## Description

Set entity attributes.
An attribute is identified by its `property` (`data` when it is engine-drive attribute) value in config.
For the list of all attributes with their properties, see Setting Attributes.

> [!IMPORTANT]
> Attributes are available only within the Eden Editor workspace and cannot be accessed in scenario preview or exported scenario!

## Syntax

```sqf
set3DENAttributes [[entities1, class1, value1], [entities2, class2, value2], ...]
```

**Parameters:**

- `entitiesN`: [Array](../topics/Array.md) of Eden Entity or Eden ID
- `classN`: [String](../topics/String.md) - attribute name
- `valueN`: [Anything](../topics/Anything.md) - new attribute value

**Returns:** [Boolean](../topics/Boolean.md) - [true](../commands/true.md) if the value was set

## Examples

### Example 1

```sqf
// Set all selected objects as playable
set3DENAttributes [[get3DENSelected "Object", "ControlMP", true]];
```

## See also

[get3DENAttribute](../commands/get3DENAttribute.md) · [clear3DENAttribute](../commands/clear3DENAttribute.md)

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