{"name":"isGameFocused","title":"isGameFocused","type":"command","url":"https://community.bistudio.com/wiki/isGameFocused","revid":309152,"updated":"2022-05-03T14:13:47Z","groups":["System"],"status":"ok","games":{"arma3":"1.96"},"since":"arma3 1.96","arma3_since":"1.96","description":"Returns the state of game focus changed by pressing <kbd>Alt</kbd> + <kbd>↹ Tab</kbd> or similar action.","syntaxes":[{"syntax":"isGameFocused","params":[],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if game window is focused, false if not"},"form":"nullary"}],"examples":[{"code":["if (!isGameFocused) then { endMission \"End\" };"]}],"see_also":["isGamePaused"]}