{"name":"allCutLayers","title":"allCutLayers","type":"command","url":"https://community.bistudio.com/wiki/allCutLayers","revid":377004,"updated":"2026-01-01T08:15:37Z","groups":["GUI Control"],"status":"ok","games":{"arma3":"1.58"},"since":"arma3 1.58","arma3_since":"1.58","description":"Returns all named layers used by cutRsc, cutText, cutObj or cutFadeOut.\nThe layer normally would be added on the first use of any of the aforementioned commands, however if a layer needs to be reserved it could be done like so:\n\n```sqf\nprivate _layerNum = \"TAG_myLayerName\" cutFadeOut 0;\n```","syntaxes":[{"syntax":"allCutLayers","params":[],"returns":{"type":"Array of Strings","type_expr":"Array<String>","description":"The index of the layer name in the array corresponds to the layer number the cut effect will be displayed on. If no layers were defined, the return is `[\"\"]`, because layer 0 is reserved for usage in cut commands without layer param or when the provided layer name is empty `\"\"`."},"form":"nullary"}],"examples":[{"code":["private _allLayers = allCutLayers;"]}],"see_also":["cutRsc","cutText","cutObj","cutFadeOut","allActiveTitleEffects","activeTitleEffectParams"]}