Skip to main content

fullscreen_shortcut

Function fullscreen_shortcut 

Source
pub fn fullscreen_shortcut() -> bool
Expand description

Whether the window’s fullscreen shortcut was pressed this frame: F11, or Alt+Enter. Like the window’s close button these belong to the platform, not to the game’s keymap (ticket 0902).