Returns window width
window_get_width()
Returns: int
int
Returns current window width.
int win_width = window_get_width(); show_debug_message(win_width.ToString());
The above code will set int win_width to the width of the current game window and then create a pop-up message displaying the current width.
Back to window-functions
There was an error while loading. Please reload this page.