Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Two variables can become synchronized under certain conditions.
- nathaniel00012
-
45 posts
Two variables can become synchronized under certain conditions.
This is an awkward bug to run into because it can't be easily fixed in Scratch itself. I'm not sure if this is project specific, so if anyone asks, I'll share the project in question. (with instructions to reproduce) Anyways, when I have two variables then the set variable block should be consistent across variables, right?
Expected result:
var2 = 0
Actual result:
var2 = value1
And before you ask, no. I've confirmed that there are no blocks like these in the code:

In the meantime, can you think of any solution to this within Scratch itself? (as long as I don't find one myself)
My browser / operating system: Windows NT 10.0, Firefox 91.0, No Flash version detected.
Demonstrated in version 3.25.0 of the Scratch app.
Expected result:
set [var1] to [value1]var1 = value1
var2 = 0
Actual result:
set [var1] to [value1]var1 = value1
var2 = value1
And before you ask, no. I've confirmed that there are no blocks like these in the code:
set [var2] to (var1)For a more clear demonstration, here's the bug in action:

In the meantime, can you think of any solution to this within Scratch itself? (as long as I don't find one myself)
My browser / operating system: Windows NT 10.0, Firefox 91.0, No Flash version detected.
Demonstrated in version 3.25.0 of the Scratch app.
Last edited by nathaniel00012 (Nov. 21, 2021 16:26:17)
- nathaniel00012
-
45 posts
Two variables can become synchronized under certain conditions.
Bump
- nathaniel00012
-
45 posts
Two variables can become synchronized under certain conditions.
Bump
- nathaniel00012
-
45 posts
Two variables can become synchronized under certain conditions.
Bump. Btw, is anyone even paying attention to this?
- Discussion Forums
- » Bugs and Glitches
-
» Two variables can become synchronized under certain conditions.