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

# BIS_fnc_changeColorMarker

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

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

## Description

Makes the marker go from its original color to a specified color over time

## Syntax

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

**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 transition in seconds

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

## Examples

### Example 1

```sqf
["BIS_marker","ColorRed"] spawn BIS_fnc_changeColorMarker;
```

## See also

[BIS_fnc_blinkMarker](../functions/BIS_fnc_blinkMarker.md) · [BIS_fnc_colorMarker](../functions/BIS_fnc_colorMarker.md)

<sub>Source: [BI Community Wiki — BIS fnc changeColorMarker](https://community.bistudio.com/wiki/BIS_fnc_changeColorMarker) (revision 348824).</sub>
