---
name: "allCutLayers"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "1.58"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/allCutLayers
revid: 377004
updated: 2026-01-01T08:15:37Z
---

# allCutLayers

*Command · GUI Control · Arma 3 v1.58*

## Description

Returns all named layers used by [cutRsc](../commands/cutRsc.md), [cutText](../commands/cutText.md), [cutObj](../commands/cutObj.md) or [cutFadeOut](../commands/cutFadeOut.md).
The 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:

```sqf
private _layerNum = "TAG_myLayerName" cutFadeOut 0;
```

## Syntax

```sqf
allCutLayers
```

**Returns:** [Array](../topics/Array.md) of [String](../topics/String.md)s - 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 `""`.

## Examples

### Example 1

```sqf
private _allLayers = allCutLayers;
```

## See also

[cutRsc](../commands/cutRsc.md) · [cutText](../commands/cutText.md) · [cutObj](../commands/cutObj.md) · [cutFadeOut](../commands/cutFadeOut.md) · [allActiveTitleEffects](../commands/allActiveTitleEffects.md) · [activeTitleEffectParams](../commands/activeTitleEffectParams.md)

<sub>Source: [BI Community Wiki — allCutLayers](https://community.bistudio.com/wiki/allCutLayers) (revision 377004).</sub>
