---
name: "ctrlURLOverlayMode"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "2.10"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlURLOverlayMode
revid: 330165
updated: 2022-08-23T12:23:58Z
---

# ctrlURLOverlayMode

*Command · GUI Control · Arma 3 v2.10*

## Description

Returns the URL overlay mode 0, 1, 2 (see [ctrlSetURLOverlayMode](../commands/ctrlSetURLOverlayMode.md)) or -1 if something went wrong.

## Syntax

```sqf
ctrlURLOverlayMode control
```

**Parameters:**

- `control`: [Control](../topics/Control.md)

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

## Examples

### Example 1

```sqf
_mode = ctrlURLOverlayMode _control; // e.g. 0
```

## See also

[ctrlSetURLOverlayMode](../commands/ctrlSetURLOverlayMode.md) · [ctrlURL](../commands/ctrlURL.md) · [isSteamOverlayEnabled](../commands/isSteamOverlayEnabled.md)

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