window_get_showborder

This function gets whether the game is shown in a borderless window or not.

It corresponds to the Borderless Window option in the Windows Graphics options; it gets the value of that checkbox in-game.

NOTE This function only works on Windows.

 

Syntax:

window_get_showborder();

 

Returns:

Boolean

 

Example:

var _border_shown = window_get_showborder();

The above code gets whether the window border is shown and stores the result in a temporary variable _border_shown.