snipplets.dev/~/GameMaker/fullscreen_toggle.gml

9 lines
137 B
Plaintext

/// @description Fullscreen toggle
if window_get_fullscreen() {
window_set_fullscreen(false);
}
else {
window_set_fullscreen(true);
}