---
name: "updateDrawIcon"
type: command
status: ok
groups: ["Game 2 Editor"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/updateDrawIcon
revid: 363252
updated: 2024-03-26T10:51:27Z
---

# updateDrawIcon

*Command · Game 2 Editor · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Updates the icon to be shown in 2D editor for the specified editor,object. If maintain size is false,icon will not scale depending on the,scale of the map. If maintain size is a number,the icon will maintain,size if map scale is below that number.

> [!NOTE]
> Some Old Editor Command

## Syntax

```sqf
map updateDrawIcon [object,string identifier,color,offset,width,height,maintain size?,angle,shadow]
```

**Parameters:**

- `map`: [Control](../topics/Control.md)
- [object,string identifier,color,offset,width,height,maintain size?,angle,shadow]: [Array](../topics/Array.md)

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

## Examples

### Example 1

-

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