---
name: "getMarkerType"
type: command
status: ok
groups: ["Markers"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getMarkerType
revid: 348864
updated: 2023-11-08T14:39:13Z
---

# getMarkerType

*Command · Markers · Arma 3 v0.50 · introduced in Operation Flashpoint v1.21*

Locality: arguments **global**

Alias: [markerType](../commands/markerType.md)

## Description

Gets type of marker. See CfgMarkers for a list of standard markers.

## Syntax

```sqf
getMarkerType markerName
```

**Parameters:**

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

**Returns:** [String](../topics/String.md) - marker class name. See CfgMarkers.

## Examples

### Example 1

```sqf
if (getMarkerType "Marker1" == "") then { hint "Marker1 is not an icon!" };
```

## See also

[setMarkerType](../commands/setMarkerType.md) · [setMarkerTypeLocal](../commands/setMarkerTypeLocal.md) · [markerType](../commands/markerType.md)

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