Ok, so I added undo by pressing z however it takes a pretty long time. I also added a delete button by pressing x which will delete the entire level. On the other hand to make loading faster I added compression which basically removes the blocks that are behind the tiles that are showing. Lets say you place a dirt block, then place the grass block above it. The compress function will remove the dirt block behind it because it isn't shown in the final product. It was a block that was behind a block and wasn't needed therefore taking up space. Another example is that you place a stone block and you want to replace it with air. This is bad because the platformer will still detect the stone block even though it looks like it isn't there. The method looked like it was working however for some reason when I press P to play the game. The compressed stuff in the level list are removed and are replaced with the old stuff. Can you fix this issue please? The function in the level editor is "compress" and I added it to the loop if p is pressed.