window_set_showborder

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.

 

Syntax:

window_set_showborder(show);

ArgumentTypeDescription
showBooleanWhether to show the window border

 

Returns:

N/A

 

Example:

window_set_showborder(!window_get_showborder());

The above line of code toggles the window border.