{"name":"ctrlType","title":"ctrlType","type":"command","url":"https://community.bistudio.com/wiki/ctrlType","revid":318899,"updated":"2022-05-13T09:22:00Z","groups":["GUI Control"],"status":"ok","games":{"arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.00","arma3_since":"0.50","description":"Returns number representing the type of control, which is also defined by *type* property in config. For more information see Arma: GUI Configuration","syntaxes":[{"syntax":"ctrlType control","params":[{"name":"control","type":"Control","type_expr":"Control"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"control"}}],"examples":[{"code":["_type = ctrlType _rscEdit; // 2"]}],"see_also":["ctrlCreate","Arma: GUI Configuration"]}