---
name: "allActiveTitleEffects"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "1.98"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/allActiveTitleEffects
revid: 377719
updated: 2026-01-02T09:16:16Z
---

# allActiveTitleEffects

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

## Description

Returns a list of all layers that have currently active title effect. Numbers equal to or greater than 0 represent cut layers, where as -1 represents title layer (see Title Effect Type). Named layers are represented by their respective index.

> [!NOTE]
> Effects created with [titleText](../commands/titleText.md), [titleRsc](../commands/titleRsc.md) and [titleObj](../commands/titleObj.md) commands do not have a numbered layer, so they are represented as -1 layer in the result. Effects created with [cutText](../commands/cutText.md), [cutRsc](../commands/cutRsc.md) and [cutObj](../commands/cutObj.md) are created either on layer 0, if no layer is specified, or on the given layer, if the layer index is specified, so they are represented by the layer index.

## Syntax

```sqf
allActiveTitleEffects
```

**Returns:** [Array](../topics/Array.md) of [Number](../topics/Number.md)s - indexes of currently active effect layer

## Examples

### Example 1

```sqf
cutText ["Hello World!" ,"PLAIN", 2];
hint str allActiveTitleEffects; // [0]
```

### Example 2

```sqf
21 cutText ["Hello World!", "PLAIN", 2];
hint str allActiveTitleEffects; // [21]
```

### Example 3

```sqf
cutText ["Hello World!", "PLAIN", 2];
titleText ["Hello World!", "PLAIN", 2];
hint str allActiveTitleEffects; // [-1, 0]
```

## See also

[allCutLayers](../commands/allCutLayers.md) · [cutText](../commands/cutText.md) · [cutRsc](../commands/cutRsc.md) · [cutObj](../commands/cutObj.md) · [cutFadeOut](../commands/cutFadeOut.md) · [titleText](../commands/titleText.md) · [titleRsc](../commands/titleRsc.md) · [titleObj](../commands/titleObj.md) · [titleFadeOut](../commands/titleFadeOut.md) · [activeTitleEffectParams](../commands/activeTitleEffectParams.md) · Title Effect Type

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