---
name: "setMarkerSize"
type: command
status: ok
groups: ["Markers"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/setMarkerSize
revid: 370044
updated: 2024-10-28T20:28:37Z
---

# setMarkerSize

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

Locality: effect **global**

## Description

Sets the marker's size.

> [!NOTE]
> **Multiplayer optimisation:** Global marker commands always broadcast the *entire* marker state over the network.
> As such, the number of network messages exchanged when creating or editing a marker can be reduced by performing all but the last operation using local marker commands, then using a global marker command for the last change (and subsequent global broadcast of all changes applied to the marker).

## Syntax

```sqf
markerName setMarkerSize [a-axis, b-axis]
```

**Parameters:**

- `markerName`: [String](../topics/String.md)
- `a-axis`: [Number](../topics/Number.md) - 1/2 width of marker
- `b-axis`: [Number](../topics/Number.md) - 1/2 height of marker

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

## Examples

### Example 1

```sqf
"MarkerOne" setMarkerSize [100, 200];
```

## See also

[setMarkerSizeLocal](../commands/setMarkerSizeLocal.md) · [getMarkerSize](../commands/getMarkerSize.md) · [markerSize](../commands/markerSize.md)

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