run in turbo to see the variables change instantly, click see inside to use the code and see how it works this is meant for those who use custom scratch mod such as: https://sheeptester.github.io/scratch-gui/?width=640&height=360 that allow you to change the screen parameters.
All code done by @TheGeniusCoder if you use the code make sure to credit :) leave any questions you have in the comments.