setFullscreen(f?: boolean): void
Enter / exit fullscreen mode. (note: mouse position is not working in fullscreen mode at the moment)// toggle fullscreen mode on "f" onKeyPress("f", (c) => { setFullscreen(!isFullscreen()) })
// toggle fullscreen mode on "f" onKeyPress("f", (c) => { setFullscreen(!isFullscreen()) })
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Level
Plugins
Button Bindings