Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » New invisible code glitch?
- supernavo
-
1000+ posts
New invisible code glitch?
My browser / operating system: Android Linux 12, Chrome 107.0.0.0, No Extensions
My browser / operating system: Windows NT 10.0, Chrome 107.0.0.0, Scratch DT (No SA), McAfee
If you make a variable with a control character, Scratch freaks out. I used it here. Expected: show variable or give undefined hat block. Output: either pallete or code blocks disappear depending on if you have reloaded the code yet.
To reproduce: Make a new variable. Make sure its name contains . Once you reload the code, the blocks go invisible. Copy paste this control character:
Here's a GIF of me recreating this glitch.

Notes: This glitch can also be done with broadcasts, and can be done using local variables. You can also view a newer topic with more control character glitches here.
My browser / operating system: Windows NT 10.0, Chrome 107.0.0.0, Scratch DT (No SA), McAfee
If you make a variable with a control character, Scratch freaks out. I used it here. Expected: show variable or give undefined hat block. Output: either pallete or code blocks disappear depending on if you have reloaded the code yet.
To reproduce: Make a new variable. Make sure its name contains . Once you reload the code, the blocks go invisible. Copy paste this control character:
Here's a GIF of me recreating this glitch.

Notes: This glitch can also be done with broadcasts, and can be done using local variables. You can also view a newer topic with more control character glitches here.
Last edited by supernavo (Dec. 1, 2022 20:30:30)
- gsegfsgfids
-
23 posts
New invisible code glitch?
Strange, I can't make the variable, if the name is blank (including spaces being added), then it won't be created. I will be looking into this.
My browser / operating system: ChromeOS 15117.111.0, Chrome 107.0.0.0, No Flash version detected
Please click the globe icon in the post editor to show your browser/OS info.
My browser / operating system: ChromeOS 15117.111.0, Chrome 107.0.0.0, No Flash version detected
Please click the globe icon in the post editor to show your browser/OS info.
- supernavo
-
1000+ posts
New invisible code glitch?
I didn't notice my post was partially deleted by BBCode. Also I did use the globe, but hid it. Strange, I can't make the variable, if the name is blank (including spaces being added), then it won't be created. I will be looking into this.
My browser / operating system: ChromeOS 15117.111.0, Chrome 107.0.0.0, No Flash version detected
Please click the globe icon in the post editor to show your browser/OS info.
Last edited by supernavo (Nov. 29, 2022 17:27:29)
- medians
-
1000+ posts
New invisible code glitch?
My browser / operating system: Android Linux 12, Chrome 107.0.0.0, No Flash version detected
- aifewifewf
-
8 posts
New invisible code glitch?
I see now, I can replicate
My browser / operating system: ChromeOS 15117.111.0, Chrome 107.0.0.0, No Flash version detected
When I create the variable with as it's name, all the variable blocks disappear from the palette, and only the variable reporters remain. When I try to make another variable with as the name, it says that the variable already exists.
My browser / operating system: ChromeOS 15117.111.0, Chrome 107.0.0.0, No Flash version detected
When I create the variable with as it's name, all the variable blocks disappear from the palette, and only the variable reporters remain. When I try to make another variable with as the name, it says that the variable already exists.
Last edited by aifewifewf (Nov. 30, 2022 17:11:13)
- BebaMonica
-
100+ posts
New invisible code glitch?
I tried to recreate this but it did not work.
My browser / operating system: Windows NT 10.0, Firefox 107.0, No Flash version detected
My browser / operating system: Windows NT 10.0, Firefox 107.0, No Flash version detected
- samuelzito
-
100+ posts
New invisible code glitch?
Copy and paste this: ‘’ I tried to recreate this but it did not work.
My browser / operating system: Windows NT 10.0, Firefox 107.0, No Flash version detected
My browser / operating system: Android Linux 12, Chrome 107.0.0.0, No Flash version detected
Last edited by samuelzito (Dec. 3, 2022 17:22:06)
- creepycode101
-
63 posts
New invisible code glitch?
This is a blessing, now I can stop people from stealing and remixing my games!
- supernavo
-
1000+ posts
New invisible code glitch?
Bbbbb u u mm m m pppppp !!!
B b u u m m m m p p !!!
Bbbbb u u m m m pppppp !
B b u u m m p '
Bbbbbb uuuuuuu m m p !!!
B b u u m m m m p p !!!
Bbbbb u u m m m pppppp !
B b u u m m p '
Bbbbbb uuuuuuu m m p !!!
- Za-Chary
-
1000+ posts
New invisible code glitch?
You should not do this. If you do, the Scratch Team may remove your project for trying to discourage remixing. Scratch projects are intended to have all code visible, so when there is code in a project that is not visible, the Scratch Team may remove it. This is a blessing, now I can stop people from stealing and remixing my games!
- LORDHEAVEN21
-
2 posts
New invisible code glitch?
I forgot but, you can’t put spaces in variables.
- notion3
-
0 posts
New invisible code glitch?
Also on mobile it seems that if code is too big it becomes invisible.
- Discussion Forums
- » Bugs and Glitches
-
» New invisible code glitch?