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

# setMarkerBrush

*Command · Markers · Arma 3 v0.50 · introduced in Operation Flashpoint: Elite v1.00*

Locality: effect **global**

## Description

Selects the fill texture for the marker ("RECTANGLE" or "ELLIPSE"). Brush is the name of the subclass in `CfgMarkerBrushes`.

> [!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 setMarkerBrush brush
```

**Parameters:**

- `markerName`: [String](../topics/String.md)
- `brush`: [String](../topics/String.md) - (case-insensitive) can be one of:
  - "Solid"
  - Arma 3 v0.50 "SolidFull"
  - "Horizontal"
  - "Vertical"
  - "Grid"
  - "FDiagonal"
  - "BDiagonal"
  - "DiagGrid"
  - "Cross"
  - Arma 2 v1.00 "Border"
  - Arma 2 v1.00 "SolidBorder"

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

## Examples

### Example 1

```sqf
"Marker1" setMarkerBrush "DIAGGRID";
```

## See also

[setMarkerAlpha](../commands/setMarkerAlpha.md) · [setMarkerAlphaLocal](../commands/setMarkerAlphaLocal.md) · [setMarkerBrushLocal](../commands/setMarkerBrushLocal.md) · [setMarkerColor](../commands/setMarkerColor.md) · [setMarkerColorLocal](../commands/setMarkerColorLocal.md) · [setMarkerDir](../commands/setMarkerDir.md) · [setMarkerDirLocal](../commands/setMarkerDirLocal.md) · [setMarkerPos](../commands/setMarkerPos.md) · [setMarkerPosLocal](../commands/setMarkerPosLocal.md) · [setMarkerShape](../commands/setMarkerShape.md) · [setMarkerShapeLocal](../commands/setMarkerShapeLocal.md) · [setMarkerSize](../commands/setMarkerSize.md) · [setMarkerSizeLocal](../commands/setMarkerSizeLocal.md) · [setMarkerText](../commands/setMarkerText.md) · [setMarkerTextLocal](../commands/setMarkerTextLocal.md) · [setMarkerType](../commands/setMarkerType.md) · [setMarkerTypeLocal](../commands/setMarkerTypeLocal.md)

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