{"name":"cutFadeOut","title":"cutFadeOut","type":"command","url":"https://community.bistudio.com/wiki/cutFadeOut","revid":379329,"updated":"2026-10-30T23:52:02Z","groups":["GUI Control"],"status":"ok","games":{"arma1":"1.05","arma2":"1.00","arma2oa":"1.55","tkoh":"1.00","arma3":"0.50"},"since":"arma1 1.05","arma3_since":"0.50","description":"Terminates the effect in the given layer by fading it out according to the given duration. If named layer is used and it doesn't exist, it will be allocated. For title layer see titleFadeOut.\n\n> [!NOTE]\n> **Arma 3:** For greater efficiency and ease of moddability, it is recommended to use named layers.","syntaxes":[{"syntax":"layer cutFadeOut duration","params":[{"name":"layer","type":"Number","type_expr":"Number"},{"name":"duration","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"layer"},"right":{"text":"duration"}},{"syntax":"layerName cutFadeOut duration","since":"arma3 1.58","params":[{"name":"layerName","type":"String","description":"effect layer name. Layer names are CaSe SeNsItIvE","type_expr":"String"},{"name":"duration","type":"Number","description":"fade out time","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"number of the corresponding layer"},"form":"binary","left":{"text":"layerName"},"right":{"text":"duration"}}],"examples":[{"code":["0 cutFadeOut 2;"]},{"code":["private _layer = \"layer1\" cutFadeOut 2;"]}],"see_also":["allCutLayers","cutText","cutRsc","cutObj","allActiveTitleEffects","activeTitleEffectParams"],"notes":[{"user":"Krzmbrzl00","date":"2016-07-09T11:30:00Z","text":"Arma 3 v1.60 The actual fadeOut-duration can be dependent on the duration for the fadeIn (e.g. specified by cutText). If the fadeIn-duration is set to a value less than 1 the fadeOut-duration will be the given number multiplied by the fadeIn-duration.\n\n```sqf\n\"test\" cutText [\"\", \"BLACK\", 0.5, true]; // fadein is < 0\n\"test\" cutFadeOut 2; // The actual fadeout-time is 2 * 0.5 = 1\n```"}]}