{"name":"diag_frameNo","title":"diag frameNo","type":"command","url":"https://community.bistudio.com/wiki/diag_frameNo","revid":379332,"updated":"2026-10-30T23:52:26Z","groups":["Diagnostic","Performance Profiling"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Returns number of frame currently displayed.","syntaxes":[{"syntax":"diag_frameNo","params":[],"returns":{"type":"Number","type_expr":"Number"},"form":"nullary"}],"examples":[{"code":["_currFrameNo = diag_frameNo;"]}],"see_also":["diag_fps","diag_fpsMin","diag_log","diag_tickTime","diag_deltaTime"],"notes":[{"user":"DreadedEntity","date":"2014-11-19T23:51:00Z","text":"Avoid using hard-coded frame-specific events, the total amount of drawn frames is persistent across all missions. It does not get reset until the game is closed."}]}