isGameFocused

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.961.96
Hover & click on the images for descriptions

Description

Description:
Returns false if the game window lost focus, due to user Alt+Tab-ing for example.

Syntax

Syntax:
isGameFocused
Return Value:
Boolean

Examples

Example 1:
if (!isGameFocused) then { endMission "End" };

Additional Information

See also:
isGamePausedisUIContextcanSuspendisRemoteExecutedisRemoteExecutedJIPserverCommand
Groups:
System

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section