Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Why are blocks that are in scratch not shown on the blocks bar?
- Basketbomb
-
47 posts
Why are blocks that are in scratch not shown on the blocks bar?
I know about this after I used Turbowarp to bring the While block into Scratch, and, I'm wondering, if it's already coded in, why isn't it shown?
- CST1229
-
1000+ posts
Why are blocks that are in scratch not shown on the blocks bar?
Most of those blocks exist just for compatibility with a few versions that did have the block, but was then later removed.
As for the reason the “while” block was removed: This is pure speculation, but it might have been replaced with “repeat until” due to it possibly confusing users? Like say, they'd try something like
As for the reason the “while” block was removed: This is pure speculation, but it might have been replaced with “repeat until” due to it possibly confusing users? Like say, they'd try something like
and expect that to work like this script:
(which it doesn't, and then users might get confused and think their script/the block doesn't work)
Last edited by CST1229 (Dec. 29, 2024 00:09:16)
- scratchcode1_2_3
-
1000+ posts
Why are blocks that are in scratch not shown on the blocks bar?
But the repeat until block isn't the whole block? Most of those blocks exist just for compatibility with a few versions that did have the block, but was then later removed.
As for the reason the “while” block was removed: This is pure speculation, but it might have been replaced with “repeat until” due to it possibly confusing users? Like say, they'd try something likeand expect that to work like this script:(which it doesn't, and then users might get confused and think their script/the block doesn't work)
I'm pretty sure it DOES work like that.
Oh and theres also counter blocks, for each () in (), and a when this sprite touches block
- BigNate469
-
1000+ posts
Why are blocks that are in scratch not shown on the blocks bar?
It doesn't. I'm pretty sure it DOES work like that.
would work like
Note: the if-statement is technically unnecessary, but this example would be somewhat confusing otherwise.
Last edited by BigNate469 (Dec. 29, 2024 00:40:16)
- scratchcode1_2_3
-
1000+ posts
Why are blocks that are in scratch not shown on the blocks bar?
Oh, well still pretty similarIt doesn't. I'm pretty sure it DOES work like that.would work likeNote: the if-statement is technically unnecessary, but this example would be somewhat confusing otherwise.
- BigNate469
-
1000+ posts
Why are blocks that are in scratch not shown on the blocks bar?
Well, the major differences are that the while block one blocks code execution underneath it until you lift your finger off the space key, and only looks once if you're touching the space key, so unless you're holding space while you are clicking the flag, you're unlikely to get it to do anything.Oh, well still pretty similar snip
Last edited by BigNate469 (Dec. 29, 2024 01:43:08)
- scratchcode1_2_3
-
1000+ posts
Why are blocks that are in scratch not shown on the blocks bar?
(#6)huh so it's alsoWell, the major differences are that the while block one blocks code execution underneath it until you lift your finger off the space key, and only looks once if you're touching the space key, so unless you're holding space while you are clicking the flag, you're unlikely to get it to do anything.Oh, well still pretty similar snip
- Discussion Forums
- » Questions about Scratch
-
» Why are blocks that are in scratch not shown on the blocks bar?