This function sets whether the game is shown in a borderless window or not.
It corresponds to the Borderless Window option in the Windows Graphics options; it changes the value of that checkbox in-game.
NOTE This function only works on Windows.
window_set_showborder(show);
Argument | Type | Description |
---|---|---|
show | Boolean | Whether to show the window border |
N/A
window_set_showborder(!window_get_showborder());
The above line of code toggles the window border.