---
name: "setMarkerPosLocal"
type: command
status: ok
groups: ["Markers"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setMarkerPosLocal
revid: 377550
updated: 2026-01-02T06:54:46Z
---

# setMarkerPosLocal

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

Locality: effect **local**

## Description

Moves the marker. If position is given in 3D format, `z` coordinate is stored with the marker and will be used when marker is passed to commands like [createVehicle](../commands/createVehicle.md), [createUnit](../commands/createUnit.md), [createAgent](../commands/createAgent.md), [createMine](../commands/createMine.md), [setVehiclePosition](../commands/setVehiclePosition.md) for example. In case of an object, the object's model [0,0,0] is used.

## Syntax

```sqf
markerName setMarkerPosLocal position
```

**Parameters:**

- `markerName`: [String](../topics/String.md)
- `position`: [Position2D](../topics/Position.md#introduction), [PositionAGL](../topics/Position.md#positionagl) or Arma 3 v1.94 [Object](../topics/Object.md). In case of an object, the object's model [0,0,0] is used.

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

## Examples

### Example 1

```sqf
"MarkerOne" setMarkerPosLocal getMarkerPos "MarkerTwo";
```

## See also

[setMarkerPos](../commands/setMarkerPos.md) · [setMarkerAlphaLocal](../commands/setMarkerAlphaLocal.md) · [setMarkerBrushLocal](../commands/setMarkerBrushLocal.md) · [setMarkerColorLocal](../commands/setMarkerColorLocal.md) · [setMarkerDirLocal](../commands/setMarkerDirLocal.md) · [setMarkerShapeLocal](../commands/setMarkerShapeLocal.md) · [setMarkerSizeLocal](../commands/setMarkerSizeLocal.md) · [setMarkerTextLocal](../commands/setMarkerTextLocal.md) · [setMarkerTypeLocal](../commands/setMarkerTypeLocal.md)

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