-
-
Notifications
You must be signed in to change notification settings - Fork 18
window_get_width
drewmccluskey edited this page Feb 12, 2019
·
2 revisions
Returns window width
window_get_width()
Returns: 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