Window Screen changing size during game

Is it possible for there to be an event/ script that can make the windowed game screen get bigger, mid-game? Is there a way to trigger the screen to get bigger or smaller? I know how to change the size of the game but I'm just wondering if there's a trigger or something to make it get bigger after the player has activated something.

Original thread: https://forums.rpgmakerweb.com/threads/window-screen-changing-size-during-game.154079/