window
The game's window library.
Fields
| Name | Type | Description |
|---|---|---|
width | number | The width of the game's window (in pixels). |
height | number | The height of the game's window (in pixels). |
focus | boolean | true if the game's window has focus, false otherwise. |
Functions
#window.isFullscreen
function window.isFullscreen(): boolean
Returns whether the game window is fullscreen.
Returns
| Type | Name | Description |
|---|---|---|
boolean | is_on | true if the game window is fullscreen, false if not. |