Discuss Scratch

justcarson523
Scratcher
6 posts

Disappearing Code

when green flag clicked
if <((10) - (1))=[1021209319013]> then
end

when green flag clicked
if <((blackvoid))=[1021209319013]> then
end

Last edited by justcarson523 (April 21, 2026 19:04:41)

SuperTom222
Scratcher
4 posts

Disappearing Code

merogi__00 wrote:

I haven’t been notified about this, so I’m sorry for the late reply!

It happens every so often for me, and my solution has been to created saved copies every 30 minutes lol, which has been working relatively ok for me. I’m not really sure how sharing the project with corrupted code will display it, so I’m not sure…

About blocks disappearing: maybe the blocks are disappearing simply because they’re disappearing, but I’ve found that if you drag a code thread(?) over another one before dragging it to the side bar, it deletes both of them and you may not realize it. It’s quite inconvenient because you can’t undo once you switch to a different sprite or background, so watch out!
Using turbowarp works too, i think the problem doesn't happen there
485620
Scratcher
18 posts

Disappearing Code

Help, entire chunks of my code is vanishing, but stuff still works? any time i enter a corrupted sprite, there is a huge lag spike. That lag is so bad, its even affecting my gaming pc. before the update, even my school chromebook could run that project with the editor on.
Dragon_35
Scratcher
1 post

Disappearing Code

I was coding and then I tried to duplicate a block of code to a different sprite, but it wasn't there so when I when back to the first sprite, all the code was gone. How do i make it stop doing that?
lapin-rainbow
Scratcher
2 posts

Disappearing Code

Happened to me, but that maybe was my fault… was coding a thing, then I tried to put the blocks together, behind the see through wall ish thingy, then BAM, my coding… was… DELETED!

when green flag clicked
delete this clone


Means blocks!
ScratchJack2010
Scratcher
100+ posts

Disappearing Code

This still affects Custom Blocks whenever their inputs are edited.
flintandsteeeeeel
Scratcher
1 post

Disappearing Code

For me, this just happens on random projects. Scratch might be working on this, but still, its kinda weird that this happens on random ones.

Last edited by flintandsteeeeeel (July 2, 2026 16:47:20)

Dung1001
Scratcher
2 posts

Disappearing Code

I got disappearing input sources in definitions and not in used My Blocks. However, they seem still work as normal but you can't sense them.
Before:
define Print (number) <negative?>
this is a pink block <not <>>
After:
define Print (#actually darker) <negative?>
this is a pink block <nothing but true>

Disappearing sources happens when I edit My Block while the not one occurs when I put not in an boolean edited My Block and refresh the page.

Editing My Block also causes broken My Blocks and Floating Text Inputs.
Y10ECH
Scratcher
49 posts

Disappearing Code

Invisible code glitch



Click the purple text!

Last edited by Y10ECH (July 4, 2026 15:23:37)

Y10ECH
Scratcher
49 posts

Disappearing Code

9to0 wrote:

My code just disappeared too! Hopefully scratch fixes it soon
What was that description?
YoNxvaStar
Scratcher
1 post

Disappearing Code

I’m making an engine and it’s insanely annoying when code deletes, especially when I don’t even understand what got deleted, a part broke down after I coded another part that was completely unrelated, with further testing, I realised the entire script forever loop didn’t run

Powered by DjangoBB