@richard
so you know how in scratch it lets you put the code into sections instead of having it all on one screen making it so much more organized and it does not take as much processing power because you are not loading all the blocks so it helps over all with organization and smoothness and i wish that you could do this in make code.
as shown here
I meant like we can have multiple sections for the code it doesn’t have to look like scratches it just has to work as intended and i doubt that they copy righted the idea because all it is is having different scripts for each thing in the game like what unity and Godot and literally any other game engine does
There’s already the abilty to have multiple. Javascript and python scripts, but not for blocks. I think this was also requested last year maybe? It would be cool if they added it.
Makecode Arcade is meant to mirror Typescript as much as possible. Scratch isn’t really that close to coding so it is more clean and easier to use. The reason why Arcade does not have multiple pages is because Typescript also has all variables (which include sprites) in one page.
To fix your problem, you could follow these steps.
1. Right click on any black space on your editor
2. Select format code
Tada! Your code is cleaned up!