i don't know when i made this or if i just copied code from somebody else i just found this in my unshared projects and shared it it's kind of broken but you can use the up and down arrow keys to increase and decrease the resolution which is in the top left corner, i recommend number 5. you can use the left and right arrow keys to zoom in and out. it runs real time in scratch