{"name":"allSimpleObjects","title":"allSimpleObjects","type":"command","url":"https://community.bistudio.com/wiki/allSimpleObjects","revid":377075,"updated":"2026-01-01T09:37:55Z","groups":["Object Detection"],"status":"ok","games":{"arma3":"1.68"},"since":"arma3 1.68","arma3_since":"1.68","description":"Returns array of all simple objects that belong to the listed class names. If the array of types is empty [], all simple objects are returned including those without class name.\n\n> [!NOTE]\n> - There is no inheritance in simple objects, so only exact class match is allowed.\n> - *className* is not case sensitive.","syntaxes":[{"syntax":"allSimpleObjects classes","params":[{"name":"classes","type":"Array of Strings","description":"classnames array. Use `[]` to return all simple objects","type_expr":"Array<String>"}],"returns":{"type":"Array of Objects","type_expr":"Array<Object>","description":"all simple objects"},"form":"unary","right":{"text":"classes"}}],"examples":[{"code":["private _boxesAndChairs = allSimpleObjects [\"Box_NATO_Equip_F\", \"Land_CampingChair_V2_F\"];"]},{"code":["private _allSimpleObjects = allSimpleObjects [];"]}],"see_also":["createSimpleObject","isSimpleObject","nearestObjects","nearObjectsReady","nearObjects","nearestObject","createVehicle"]}