Discuss Scratch

mert_emec
Scratcher
9 posts

Disappearing block error in Scratch

If you place a definition block inside a loop block without doing anything to it, the blocks disappear.(Scratch 3)

when green flag clicked
forever
My block
end

Last edited by mert_emec (Oct. 8, 2026 13:50:28)

TheCatNerd
Scratcher
74 posts

Disappearing block error in Scratch

This should be in Bugs & Glitches. Reported to be moved.
nembence
Scratcher
1000+ posts

Disappearing block error in Scratch

Can you check that if you put a hat block into that sprite, then go to another sprite and back, does the new hat block disappear?
mert_emec
Scratcher
9 posts

Disappearing block error in Scratch

nembence wrote:

Can you check that if you put a hat block into that sprite, then go to another sprite and back, does the new hat block disappear?
Yes.
nembence
Scratcher
1000+ posts

Disappearing block error in Scratch

mert_emec wrote:

nembence wrote:

Can you check that if you put a hat block into that sprite, then go to another sprite and back, does the new hat block disappear?
Yes.
If you open the project in TurboWarp, do you see red hat blocks in the sprite? (if yes, try deleting them, that might fix the bug)
mert_emec
Scratcher
9 posts

Disappearing block error in Scratch

nembence wrote:

mert_emec wrote:

nembence wrote:

Can you check that if you put a hat block into that sprite, then go to another sprite and back, does the new hat block disappear?
Yes.
If you open the project in TurboWarp, do you see red hat blocks in the sprite? (if yes, try deleting them, that might fix the bug)

This error does not occur in TurboWarp. However, deleting this in Scratch does not fix the error; furthermore, it also makes the array in question invisible.
The solution to this error is as follows: If the blocks are “cat blocks,” change them to “non-cat blocks”; if they are not, convert them into “cat blocks.” (Settings - Theme)

Last edited by mert_emec (Nov. 8, 2026 13:49:28)

nembence
Scratcher
1000+ posts

Disappearing block error in Scratch

mert_emec wrote:

nembence wrote:

mert_emec wrote:

nembence wrote:

Can you check that if you put a hat block into that sprite, then go to another sprite and back, does the new hat block disappear?
Yes.
If you open the project in TurboWarp, do you see red hat blocks in the sprite? (if yes, try deleting them, that might fix the bug)

What’s invisible isn’t the red block, but rather the custom block and the sequence it belongs to.
Oh, and by the way, this error does not occur in TurboWarp. Was I able to help?
Can I look at the project? I'd like to see if it logs errors to the console when I open it

(btw I asked the red hat blocks because TurboWarp displays certain corrupted blocks like that, and those corrupted blocks can prevent other blocks from rendering in the Scratch editor)
mert_emec
Scratcher
9 posts

Disappearing block error in Scratch

nembence wrote:

mert_emec wrote:

nembence wrote:

mert_emec wrote:

nembence wrote:

Can you check that if you put a hat block into that sprite, then go to another sprite and back, does the new hat block disappear?
Yes.
If you open the project in TurboWarp, do you see red hat blocks in the sprite? (if yes, try deleting them, that might fix the bug)

What’s invisible isn’t the red block, but rather the custom block and the sequence it belongs to.
Oh, and by the way, this error does not occur in TurboWarp. Was I able to help?
Can I look at the project? I'd like to see if it logs errors to the console when I open it

(btw I asked the red hat blocks because TurboWarp displays certain corrupted blocks like that, and those corrupted blocks can prevent other blocks from rendering in the Scratch editor)
Yes
Project ID: https://scratch.mit.edu/projects/1436358358/
nembence
Scratcher
1000+ posts

Disappearing block error in Scratch

mert_emec wrote:

nembence wrote:

Can I look at the project? I'd like to see if it logs errors to the console when I open it
…
Yes
Project ID: https://scratch.mit.edu/projects/1436358358/
For me it shows the same blocks in Scratch and TurboWarp:

and I don't see any suspicious errors in the console.

My browser / operating system: Windows 10, Chrome 156, No Flash version detected
mert_emec
Scratcher
9 posts

Disappearing block error in Scratch

nembence wrote:

mert_emec wrote:

nembence wrote:

Can I look at the project? I'd like to see if it logs errors to the console when I open it
…
Yes
Project ID: https://scratch.mit.edu/projects/1436358358/
For me it shows the same blocks in Scratch and TurboWarp:

and I don't see any suspicious errors in the console.

My browser / operating system: Windows 10, Chrome 156, No Flash version detected
This is not a console error; it is a block image error.
If that didn't work, try writing this code in a new, empty project.
nembence
Scratcher
1000+ posts

Disappearing block error in Scratch

Does it happen only if you start the project? I remember reading about a bug that in Safari causes blocks to disappear instead of glowing. (I don't have Safari, so I can't try that; but if you put a custom block in a loop like that, then only the definition will glow, so I guess in Safari the definition hides while running)

Last edited by nembence (Nov. 8, 2026 19:30:58)

mert_emec
Scratcher
9 posts

Disappearing block error in Scratch

nembence wrote:

Does it happen only if you start the project? I remember reading about a bug that in Safari causes blocks to disappear instead of glowing. (I don't have Safari, so I can't try that; but if you put a custom block in a loop like that, then only the definition will glow, so I guess in Safari the definition hides while running)
Yes, when that code starts, it actually becomes invisible; however, I am not sure whether this has any connection to the internet application you are using.

My browser / operating system: MacOS Macintosh X 10.15.7, Safari 26.6.2, No Flash version detected

Powered by DjangoBB