---
name: "diag_drawMode"
type: command
status: ok
groups: ["Diagnostic"]
arma3_since: "1.86"
branch: "diag"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/diag_drawMode
revid: 336291
updated: 2022-12-21T11:09:54Z
---

# diag_drawMode

*Command · Diagnostic · Arma 3 v1.86 · branch: diag*

## Description

Activates a debug visualisation.

## Syntax

```sqf
diag_drawMode type
```

**Parameters:**

- `type`: [String](../topics/String.md) - type of visualisation. Can be one of:
  - "Normal"
  - "Roadway"
  - "Geometry"
  - "ViewGeometry"
  - "FireGeometry"
  - "Paths"
  - "ShadowVolume"
  - "ShadowBuffer"
  - "Buoyancy"
  - Arma 3 v2.10 "Wire" - can be used along other visualisation
    - first mode: pure wireframe, no normal rendering
    - second mode: normal rendering combined with wireframe
    - third mode: back to normal

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

## Examples

### Example 1

```sqf
diag_drawMode "FireGeometry";
sleep 5;
diag_drawMode "Normal";
```

### Example 2

"Wire" can be used along other modes:

```sqf
diag_drawMode "Wire";            // switch to first Wire mode
diag_drawMode "Roadway";        // switch to Roadway like usual

diag_drawMode "Wire";            // switch to second Wire mode
diag_drawMode "ViewGeometry";    // switch to ViewGeometry, keeping the current Wire mode

diag_drawMode "Wire";            // disable Wire
```

## See also

[diag_list](../commands/diag_list.md)

<sub>Source: [BI Community Wiki — diag drawMode](https://community.bistudio.com/wiki/diag_drawMode) (revision 336291).</sub>
