---
name: "set3DENAttribute"
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/set3DENAttribute
revid: 348910
updated: 2023-11-08T14:40:02Z
---

# set3DENAttribute

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

## Description

Sets one of entity attributes. For the list of all attributes with their properties see Setting Attributes.

> [!IMPORTANT]
> Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!

## Syntax

```sqf
entity set3DENAttribute [class, value]
```

**Parameters:**

- `entity`: Eden Entity or Eden ID
- `class`: [String](../topics/String.md) - attribute name
- `value`: [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
player set3DENAttribute ["allowDamage", false]; // Mark player as invincible
```

## See also

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

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