---
name: "BIS_fnc_cinemaBorder"
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_cinemaBorder
revid: 348331
updated: 2023-11-08T12:59:44Z
---

# BIS_fnc_cinemaBorder

*Function · GUI · Arma 3 v1.00*

## Description

Creates cinematic borders. Player cannot move during cutscene.

## Syntax

```sqf
[mode, duration, sound, view] call BIS_fnc_cinemaBorder
```

**Parameters:**

- `mode`: [Number](../topics/Number.md) - can be:
  - 0 - In
  - 1 - Out
- `duration`: [Number](../topics/Number.md) - (Optional, default 1.5) duration in seconds
- `sound`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md)) play sound
- `view`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) lock 1st-person-view

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
[1, 2, true, true] call BIS_fnc_cinemaBorder;
```

## See also

[disableUserInput](../commands/disableUserInput.md) · [userInputDisabled](../commands/userInputDisabled.md)

## Community notes

**Honger** — 2022-10-15

When cinematic borders are active and player is not provided with any animation, he can abuse the movement lock by vaulting (default button V).

<sub>Source: [BI Community Wiki — BIS fnc cinemaBorder](https://community.bistudio.com/wiki/BIS_fnc_cinemaBorder) (revision 348331).</sub>
