-
-
Notifications
You must be signed in to change notification settings - Fork 20
window_has_focus
CryoEagle edited this page Jan 11, 2019
·
3 revisions
Returns if window is focused
window_has_focus()Returns: bool
Returns if window is focused, can be used for pausing game when minimalizing the window.
bool focus = window_has_focus(); show_debug_message(focus.ToString());
The above code will check if window is focused or not, result is saved to `bool` focus then converted to `string` and sended to debug output
Back to [window-functions](https://github.com/lofcz/SimplexRpgEngine/wiki/window-functions)