Variables is black because I named a block "I'm white! %x"

What’s the problem you are encountering?
Variables section is black, error appears saying the spec “%x” wasn’t defined, I had made a block with the label “I’m white! %x” in a completely white category to test for color changing in my project. I had deleted the category and that is when the error appeared.
I think it’s because of those quotes messing up everything.
What have you tried that didn’t work?
Changing the XML
Post a project example, link, or screenshot:
(Snap! Build Your Own Blocks)

The Variables section isn’t black, it is completely gone!


It is black

So apparently putting an input slot spec after an apostrophe makes that input, which I think is pretty cool, however you cant mention that input


untitled script pic (2)

I salvaged everything important from a script pic

I fixed the XML by removing every instance of “%x”

It seems to have produced multiple copies of the same “Hi Im white!” block, however.

I have already restored everything. Thanks though

(same link)
I now have a problem where the symbol wont move by a multiple of diff in the write costume block, no matter the number, but will move a fixed number of steps

Your problem is that diff is a two-item list of x and y differences, and change x by doesn’t know what to do with a list. Try using only the x value (item 1):

untitled script pic(56)
untitled script pic(57)

The same thing happens when you use the “generate puzzle” option when you save your project but when you do this the UI for the block categories disappears to.

That’s intentional. This video shows it’s functionality and how to revert it