{"name":"allCutLayers","operator":null,"title":"allCutLayers","type":"command","url":"https://community.bistudio.com/wiki/allCutLayers","revid":377004,"updated":"2026-01-01T08:15:37Z","groups":["GUI Control"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.58"}],"since":{"game":"arma3","name":"Arma 3","version":"1.58"},"arma3_since":"1.58","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"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","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Array of Strings","types":["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 `\"\"`.","text":"Array of Strings - 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","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\nprivate _allLayers = allCutLayers;\n```","code":["private _allLayers = allCutLayers;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["cutRsc","cutText","cutObj","cutFadeOut","allActiveTitleEffects","activeTitleEffectParams"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control","Introduced with Arma 3 version 1.58","Scripting Commands"]}