{"name":"ctrlVisible","operator":null,"title":"ctrlVisible","type":"command","url":"https://community.bistudio.com/wiki/ctrlVisible","revid":348410,"updated":"2023-11-08T13:00:06Z","groups":["GUI Control"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.75"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.75"},"arma3_since":"0.50","branch":null,"locality":{"argument":"local","effect":null,"server_exec":false},"exec":null,"description":"Returns if a control of the currently active user dialog is shown or not. Read Arma: GUI Configuration for more information about user dialogs and controls.","syntaxes":[{"syntax":"ctrlVisible idc","since":null,"effect":null,"exec":null,"params":[{"name":"idc","type":"Number","optional":false,"default":null,"description":"control IDC","types":["Number"],"since":null,"text":"idc: Number - control IDC"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true if the control is shown, false if not","text":"Boolean - true if the control is shown, false if not"},"form":"unary","operator":null,"left":null,"right":{"text":"idc","types":["Number"]}}],"examples":[{"text":"```sqf\n_bool = ctrlVisible 100;\n```","code":["_bool = ctrlVisible 100;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["ctrlShow","ctrlShown"],"notes":[],"categories":[]}