---
name: "BIS_fnc_getMarkerState"
type: function
status: ok
groups: ["Map and Markers"]
arma3_since: "1.78"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_getMarkerState
revid: 349025
updated: 2023-11-08T14:47:10Z
---

# BIS_fnc_getMarkerState

*Function · Map and Markers · Arma 3 v1.78*

## Description

Returns the state of a marker.

## Syntax

```sqf
[marker] call BIS_fnc_getMarkerState
```

**Parameters:**

- `marker`: [String](../topics/String.md) - marker

**Returns:** [String](../topics/String.md) - returns state of the marker. "Shown", "Hidden", "Canceled", "Default", if marker does not exist, [nil](../commands/nil.md) is returned

## Examples

### Example 1

```sqf
private _state = ["BIS_marker_1"] call BIS_fnc_getMarkerState;
```

## See also

[BIS_fnc_blinkMarker](../functions/BIS_fnc_blinkMarker.md) · [BIS_fnc_changeColorMarker](../functions/BIS_fnc_changeColorMarker.md) · [BIS_fnc_getMarkers](../functions/BIS_fnc_getMarkers.md) · [BIS_fnc_colorMarker](../functions/BIS_fnc_colorMarker.md)

<sub>Source: [BI Community Wiki — BIS fnc getMarkerState](https://community.bistudio.com/wiki/BIS_fnc_getMarkerState) (revision 349025).</sub>
