{"name":"ctrlFade","title":"ctrlFade","type":"command","url":"https://community.bistudio.com/wiki/ctrlFade","revid":379115,"updated":"2026-10-07T21:16:51Z","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 the current fade factor of control.\n\n> [!NOTE]\n> Despite having `fade = 1;` inside a control's config, this command **will** report a fade of 0.\n> Only the value actually set by ctrlSetFade will be returned by ctrlFade.","syntaxes":[{"syntax":"ctrlFade controlName","params":[{"name":"controlName","type":"Control","type_expr":"Control"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"controlName"}}],"examples":[{"code":["_fade = ctrlFade _control;"]}],"see_also":["ctrlSetFade"]}