dreamworkAPI
Ctrl K
GitHub
libraryDocs / window

window

libraryclientmenusource

The game's window library.

Fields

NameTypeDescription
widthnumberThe width of the game's window (in pixels).
heightnumberThe height of the game's window (in pixels).
focusbooleantrue if the game's window has focus, false otherwise.

Functions

#window.isFullscreen

clientmenunodiscardsource
function window.isFullscreen(): boolean

Returns whether the game window is fullscreen.

Returns
TypeNameDescription
booleanis_ontrue if the game window is fullscreen, false if not.
Generated from the dreamwork meta branch.