---
name: "setDrawIcon"
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/setDrawIcon
revid: 363270
updated: 2024-03-26T10:51:39Z
---

# setDrawIcon

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

## Description

Set 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. is3D,show line and priority are,optional.

> [!NOTE]
> Some Old Editor Command

## Syntax

```sqf
map setDrawIcon [object,texture,color,offset,width,height,maintain size?,angle,string identifier,shadow,is3D,draw line?,priority]
```

**Parameters:**

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

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

## Examples

### Example 1

-

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