Community Basic Script Calls?

Hello! I (like all of you) have the Community Basic plugin when starting a new project. I was wondering if there was a script call for screenWidth and screenHeight? How would I set this up so that the player can change these values? Thank you!
How would I set this up so that the player can change these values
With great difficulty. Changing the resolution is the easy part; there's no script call for Community Basics, but you can do it like so
JavaScript:
SceneManager._screenWidth = newScreenWidth;
SceneManager._boxWidth = newScreenWidth;
SceneManager._screenHeight = newScreenHeight;
SceneManager._boxHeight = newScreenHeight;
}
The difficult part would be programming your game's entire UI to adjust to different resolutions, which is not something it does by default unfortunately.

Original thread: https://forums.rpgmakerweb.com/threads/community-basic-script-calls.168003/