{"name":"get3DENEntity","operator":null,"title":"get3DENEntity","type":"command","url":"https://community.bistudio.com/wiki/get3DENEntity","revid":378362,"updated":"2026-04-03T16:26:44Z","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 Eden Entity based on its Eden ID.","syntaxes":[{"syntax":"get3DENEntity ID","since":null,"effect":null,"exec":null,"params":[{"name":"ID","type":"Number","optional":false,"default":null,"description":"Eden ID","types":["Number"],"since":null,"text":"ID: Number - Eden ID"}],"returns":{"type":"Eden Entity or Number","types":["Eden Entity","Number"],"description":"If the ID points to an Eden Entity the entity is returned - If it points to a Eden Editor: Layer or Eden Editor: Comment the ID is returned - If no entity with given ID exists `-1` is returned","text":"Eden Entity or Number\n- If the *ID* points to an Eden Entity the entity is returned\n- If it points to a Eden Editor: Layer or Eden Editor: Comment the *ID* is returned\n- If no entity with given *ID* exists `-1` is returned"},"form":"unary","operator":null,"left":null,"right":{"text":"ID","types":["Number"]}}],"examples":[{"text":"```sqf\nmyEntity = get3DENEntity 1;\n```","code":["myEntity = get3DENEntity 1;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["get3DENEntityID"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Eden Editor","Introduced with Arma 3 version 1.56","Scripting Commands"]}