Can you delete code while the game is playing?

I trying to find a way to open the menu after I close it.

1 Like

Why not just… create it again? I believe technically the data is still there after the menu is destroyed, so yes theoretically (using javaScript instead of blocks) you could just kinda pop the menu back into existence, but I don’t think you need to do all that. and you would need javaScript to do that anyways. If you just create a new menu with the same variable and code, it will have all the same properties. You could even put all the menu creation code into a function so that you don’t have to make it all more than one time:


Is this what you’re trying to do?

2 Likes

Yes, it is! Thank you very much, woof woof, you have helped a lot.

1 Like