---
name: "setMarkerShadow"
type: command
status: ok
groups: ["Markers"]
arma3_since: "2.04"
locality: {"argument": null, "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/setMarkerShadow
revid: 349188
updated: 2023-11-08T14:50:39Z
---

# setMarkerShadow

*Command · Markers · Arma 3 v2.04*

Locality: effect **global**

## Description

Sets the shadow property of given marker.

## Syntax

```sqf
marker setMarkerShadow shadowState
```

**Parameters:**

- `marker`: [String](../topics/String.md) - the marker
- `shadowState`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) to enable the shadow, [false](../commands/false.md) to disable it

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

## Examples

### Example 1

```sqf
_myMarker setMarkerShadow true; // enable shadow
```

## Problems

[setMarkerType](../commands/setMarkerType.md) will reset the shadow value to the one defined in marker type.

## See also

[markerShadow](../commands/markerShadow.md) · [setMarkerShadowLocal](../commands/setMarkerShadowLocal.md)

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