---
name: "markerDir"
type: command
status: ok
groups: ["Markers"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/markerDir
revid: 377913
updated: 2026-01-09T17:40:49Z
---

# markerDir

*Command · Markers · Arma 3 v0.50 · introduced in Armed Assault v1.04*

Locality: arguments **global**

## Description

Get marker direction.

## Syntax

```sqf
markerDir markerName
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_mPos = markerDir "markerOne";
```

## See also

[setMarkerDir](../commands/setMarkerDir.md) · [setMarkerDirLocal](../commands/setMarkerDirLocal.md)

## Community notes

**Inkompetent** — 2010-04-18

The direction of the marker is the same as displayed in the editor, so it can both be negative, and be 360 degrees or greater.

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