Discuss Scratch

supernavo
Scratcher
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.

Last edited by supernavo (Dec. 1, 2022 20:30:30)

gsegfsgfids
New Scratcher
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.
supernavo
Scratcher
1000+ posts

New invisible code glitch?

gsegfsgfids wrote:

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.
I didn't notice my post was partially deleted by BBCode. Also I did use the globe, but hid it.

Last edited by supernavo (Nov. 29, 2022 17:27:29)

medians
Scratcher
1000+ posts

New invisible code glitch?

supernavo wrote:

My browser / operating system: Android Linux 12, Chrome 107.0.0.0, No Flash version detected
aifewifewf
New Scratcher
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.

Last edited by aifewifewf (Nov. 30, 2022 17:11:13)

BebaMonica
Scratcher
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
supernavo
Scratcher
1000+ posts

New invisible code glitch?

Bump?
samuelzito
Scratcher
100+ posts

New invisible code glitch?

BebaMonica wrote:

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
Copy and paste this: ‘’
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
Scratcher
63 posts

New invisible code glitch?

This is a blessing, now I can stop people from stealing and remixing my games!
supernavo
Scratcher
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 !!!
Za-Chary
Scratcher
1000+ posts

New invisible code glitch?

creepycode101 wrote:

This is a blessing, now I can stop people from stealing and remixing my games!
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.
LORDHEAVEN21
Scratcher
2 posts

New invisible code glitch?

I forgot but, you can’t put spaces in variables.
notion3
Scratcher
0 posts

New invisible code glitch?

Also on mobile it seems that if code is too big it becomes invisible.
msmodder
Scratcher
2 posts

New invisible code glitch?

why is the code all invisible when im trying to code please stop this st
Apeterscratch16
Scratcher
1 post

New invisible code glitch?

all blocks are missing in the editor, but in ‘'motion’' it says a ‘'10’' in up left corner (instead of motion)
medians
Scratcher
1000+ posts

New invisible code glitch?

msmodder wrote:

why is the code all invisible when im trying to code please stop this st

Apeterscratch16 wrote:

all blocks are missing in the editor, but in ‘'motion’' it says a ‘'10’' in up left corner (instead of motion)
This was a completely different thing
Anyway, did you try disabling cat blocks? Scratch added some changes that broke it
Edit: Update your extension (if you're on Chrome, you'll have to wait still)
It should fix

Last edited by medians (Dec. 12, 2025 21:05:09)

ObstinateAce3169
Scratcher
44 posts

New invisible code glitch?

When I open one of my projects to continue developing it, all the blocks disappear, but they are still functioning

WHY ???
CoolLock
Scratcher
500+ posts

New invisible code glitch?

ObstinateAce3169 wrote:

When I open one of my projects to continue developing it, all the blocks disappear, but they are still functioning

WHY ???
Disable cat blocks in your browser extension.
medians
Scratcher
1000+ posts

New invisible code glitch?

CoolLock wrote:

ObstinateAce3169 wrote:

When I open one of my projects to continue developing it, all the blocks disappear, but they are still functioning

WHY ???
Disable cat blocks in your browser extension.
If this doesn't work, try clicking the black and white globe button. This should add your browser and OS info, like this:
My browser / operating system: Windows Vista, Firefox 143.0, No Flash versions detected
The-Animation-Pro
Scratcher
100+ posts

New invisible code glitch?

Just fix this by deleting the variable named “ ” the project will work even with the code hidden, but I don't think you can make changes after you hide it unless you deleted the variable like I said.

Powered by DjangoBB