{"name":"hideSelection","operator":null,"title":"hideSelection","type":"command","url":"https://community.bistudio.com/wiki/hideSelection","revid":330039,"updated":"2022-08-15T15:23:51Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.58"}],"since":{"game":"arma3","name":"Arma 3","version":"1.58"},"arma3_since":"1.58","branch":null,"locality":{"argument":"local","effect":"global","server_exec":false},"exec":null,"description":"Hides or shows the simple object's provided selection.","syntaxes":[{"syntax":"object hideSelection [selection, hidden]","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":"simple object","types":["Object"],"since":null,"text":"object: Object - simple object"},{"name":"selection","type":"String","optional":false,"default":null,"description":"selection name","types":["String"],"since":null,"text":"selection: String - selection name"},{"name":"hidden","type":"Boolean","optional":false,"default":null,"description":"true to hide, false to show","types":["Boolean"],"since":null,"text":"hidden: Boolean - true to hide, false to show"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"object","types":["Object"]},"right":{"text":"[selection, hidden]","types":["Array"]}}],"examples":[{"text":"```sqf\n_simpleObject hideSelection [\"some_selection\", true];\n```","code":["_simpleObject hideSelection [\"some_selection\", true];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["createSimpleObject","selectionNames","allLODs"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 1.58","Scripting Commands","Scripting Commands: Global Effect"]}