---
name: "diag_frameNo"
type: command
status: ok
groups: ["Diagnostic", "Performance Profiling"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/diag_frameNo
revid: 341158
updated: 2023-05-13T22:13:08Z
---

# diag_frameNo

*Command · Diagnostic, Performance Profiling · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Returns number of frame currently displayed.

## Syntax

```sqf
diag_frameNo
```

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

## Examples

### Example 1

```sqf
_currFrameNo = diag_frameNo;
```

## See also

[diag_fps](../commands/diag_fps.md) · [diag_fpsMin](../commands/diag_fpsMin.md) · [diag_log](../commands/diag_log.md) · [diag_tickTime](../commands/diag_tickTime.md) · [diag_deltaTime](../commands/diag_deltaTime.md)

<sub>Source: [BI Community Wiki — diag frameNo](https://community.bistudio.com/wiki/diag_frameNo) (revision 341158).</sub>
