window_focus

Determines whether the engine window is the foreground window or not.

Remarks:

The mouse_force vector is set to 0 if the engine window is not the foreground window, in order to prevent accidental mouse movements. In fullscreen mode, the engine is always in the foreground.

Range

1 - engine window is in the foreground.
0 - other window is in the foreground.

Type

var, read-only

See also:

mouse_valid, window_pos

► latest version online