why was for each I in () removed
id: 751037
category: Questions about Scratch
posts: 5
Malicondi
loading
Why was this block
for each [i v] in (){removed from the editor, but still accessible from editing json, or from older projects? Just wondering why, and I'm not sure if it was confusing or for some other reason.
} ::control
-Expo
loading
Out of curiosity, which projects do you still see them in? Why was this blockfor each [i v] in (){removed from the editor, but still accessible from editing json, or from older projects? Just wondering why, and I'm not sure if it was confusing or for some other reason.
} ::control
CHEEZ_ITZ_12oz
loading
Checking the wiki, it appears it was removed hidden because the dropdown was buggy. I can only guess its not back in because there's a simple workaround.
The “for each () in ()” still functions perfectly well, it's just hidden from the editor.
set [i v] to [0]
repeat (10)
change [i v] by (1)
end
The “for each () in ()” still functions perfectly well, it's just hidden from the editor.
-stxllxr
loading
wiki, it appears it was removed hidden because the dropdown was buggy. I can only guess its not back in because there's a simple workaround.It has a couple other special functions, such as if you change the variable inside of the for loop, the variable will set back to its last value. For example, of “i” was 5, and you change it by 7 in the next loop, it will go back to 6. Checking theset [i v] to [0]
repeat (10)
change [i v] by (1)
end
The “for each () in ()” still functions perfectly well, it's just hidden from the editor.