---
name: "BIS_fnc_rscLayer"
type: function
status: ok
groups: ["GUI"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_rscLayer
revid: 348814
updated: 2023-11-08T14:38:17Z
---

# BIS_fnc_rscLayer

*Function · GUI · Arma 3 v1.00*

## Description

Register RSC layer and returns a **unique** ID.

## Syntax

```sqf
[layerName] call BIS_fnc_rscLayer
```

**Parameters:**

- `layerName`: [String](../topics/String.md) - layer name. Parent function name is used automatically when param is [nil](../commands/nil.md).

**Returns:** [Number](../topics/Number.md) - layer ID

## Examples

### Example 1

```sqf
private _id = ["myLayerName"] call BIS_fnc_rscLayer;
```

## See also

[allCutLayers](../commands/allCutLayers.md) · [titleRsc](../commands/titleRsc.md) · [cutText](../commands/cutText.md) · [cutObj](../commands/cutObj.md) · [cutFadeOut](../commands/cutFadeOut.md) · [setTitleEffect](../commands/setTitleEffect.md)

<sub>Source: [BI Community Wiki — BIS fnc rscLayer](https://community.bistudio.com/wiki/BIS_fnc_rscLayer) (revision 348814).</sub>
