{"name":"get3DENAttribute","operator":null,"title":"get3DENAttribute","type":"command","url":"https://community.bistudio.com/wiki/get3DENAttribute","revid":379086,"updated":"2026-09-27T08:41:51Z","groups":["Eden Editor"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.56"}],"since":{"game":"arma3","name":"Arma 3","version":"1.56"},"arma3_since":"1.56","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns the value of the given entity's attribute in Eden Editor.\n\nAn 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.\n\n> [!IMPORTANT]\n> Attributes are available only within the Eden Editor workspace. You cannot access them in scenario preview or exported scenario!","syntaxes":[{"syntax":"entity get3DENAttribute attribute","since":null,"effect":null,"exec":null,"params":[{"name":"entity","type":"Eden Entity or Eden ID","optional":false,"default":null,"description":null,"types":["Eden Entity","Eden ID"],"since":null,"text":"entity: Eden Entity or Eden ID"},{"name":"attribute","type":"String","optional":false,"default":null,"description":"attribute property","types":["String"],"since":null,"text":"attribute: String - attribute property"}],"returns":{"type":"Array of Anything","types":["Array","Anything"],"description":null,"text":"Array of Anything"},"form":"binary","operator":null,"left":{"text":"entity","types":["Eden Entity","Eden ID"]},"right":{"text":"attribute","types":["String"]}}],"examples":[{"text":"```sqf\n// returns variable name of the object under cursor\nsystemChat str ((get3DENMouseOver select 1) get3DENAttribute \"name\");\n```","code":["// returns variable name of the object under cursor\nsystemChat str ((get3DENMouseOver select 1) get3DENAttribute \"name\");"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["set3DENAttribute","set3DENAttributes","set3DENMissionAttributes","get3DENMissionAttribute","clear3DENAttribute"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Eden Editor","Introduced with Arma 3 version 1.56","Scripting Commands"]}