Makecode arcade lag problems

I have a lot of code in my game, and the editor is starting to become unusable. Everything moves slowly. I don’t know what to do.

Use collapse all blocks and only have the ones open that you need. I wish Makecode was faster but it’s sadly not. At least this is one way to do it even if you don’t know which blocks are which.