---
name: "BIS_fnc_colorMarker"
type: function
status: ok
groups: ["Map and Markers"]
arma3_since: "1.78"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_colorMarker
revid: 348838
updated: 2023-11-08T14:39:09Z
---

# BIS_fnc_colorMarker

*Function · Map and Markers · Arma 3 v1.78*

Locality: arguments **global** · effect **global** · executed with **spawn**

## Description

Changes color of a marker with a little effect

## Syntax

```sqf
[marker, color, duration] spawn BIS_fnc_colorMarker
```

**Parameters:**

- `marker`: [String](../topics/String.md) - marker
- `color`: [String](../topics/String.md) - color from CfgMarkerColors
- `duration`: [Number](../topics/Number.md) - (Optional, default 1) duration of the transition

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

## Examples

### Example 1

```sqf
["BIS_marker","ColorRed",2] spawn BIS_fnc_colorMarker;
```

## See also

[BIS_fnc_blinkMarker](../functions/BIS_fnc_blinkMarker.md) · [BIS_fnc_changeColorMarker](../functions/BIS_fnc_changeColorMarker.md) · [BIS_fnc_getMarkers](../functions/BIS_fnc_getMarkers.md) · [BIS_fnc_getMarkerState](../functions/BIS_fnc_getMarkerState.md)

<sub>Source: [BI Community Wiki — BIS fnc colorMarker](https://community.bistudio.com/wiki/BIS_fnc_colorMarker) (revision 348838).</sub>
