Discuss Scratch
- Discussion Forums
 - » Suggestions
 - » Put the while block in the block palette
        
         
- RENZOYGRECIA
 - 
                            
						
						
                            Scratcher
                        
						
						 
100+ posts
Put the while block in the block palette
no is false

                        
                        
                    repeat until <not <condition>>i no do gray how to make this
function
end

- horizontal_shading
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Put the while block in the block palette
no is falsePlease don't necropost, but I supportrepeat until <not <condition>>i no do gray how to make this
function
end
Last edited by horizontal_shading (Feb. 9, 2024 03:19:18)
- DangerPuppy10
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Put the while block in the block palette
A yes, people writing nothing is just AMAZING!
- medians
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Put the while block in the block palette
It is meant to be a cubeupload image for bringing topics up but cubeupload is being dumb xDA yes, people writing nothing is just AMAZING!
Last edited by medians (Feb. 24, 2024 15:34:06)
- RENZOYGRECIA
 - 
                            
						
						
                            Scratcher
                        
						
						 
100+ posts
Put the while block in the block palette
Please follow meUhm did you mean to quote the person that i quotedThat was their point, and it's one block.It was a joke, to demonstrate that using workarounds isn't always ok.
- RethinkingVoxels
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Put the while block in the block palette
PDAISFPlease follow meUhm did you mean to quote the person that i quotedThat was their point, and it's one block.It was a joke, to demonstrate that using workarounds isn't always ok.
Please Don't Advertise In Scratch Forums
- hotcrystal
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
Put the while block in the block palette
Sorry to necropost, but I support this because many programming languages have a while loop, and so this block should be added back to the block palette, even though it functions the same as repeat until not. 
                        
                        
                    - medians
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Put the while block in the block palette
They removed it since it was useless, like forever if. Two block workarounds do not need to warrant a block.In case anyone is wondering, forever if was removed because of the fact that it was confusing, not because of the workaround.
The workarounds work fine and are so simple.
Lets remove:How does this have to do with the suggestion though?move () steps
Because:change x by ()
Also, move () steps moves based on direction.
Sorry to necropost, but I support this because many programming languages have a while loop, and so this block should be added back to the block palette, even though it functions the same as repeat until not.This wouldn't be considered necroposting, since the suggestion is still relevant now, and hasn't been implemented.
- bubgamer07
 - 
                            
						
						
                            Scratcher
                        
						
						 
100+ posts
Put the while block in the block palette
while <> {
}:: control(i fixed it for you)—
i find it ironic that scratch has the repeat until block instead of the while block while in most languages it's reversed
- hotcrystal
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
Put the while block in the block palette
i find it ironic that scratch has the repeat until block instead of the while block while in most languages it's reversedScratch is supposed to be a programming language for beginners, so it should have functions that match ones in other programming languages. It’s a good thing that the while block even exists and is fully functional.
- CST1229
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Put the while block in the block palette
I feel like the reason the while block isn't in the block palette is because it might slightly confuse new users about control flow; as in they'd try to make a script like
Just my thoughts.
                        
                            when flag clickedand then question why their sprite isn't moving when they release and hold the mouse button (because the block does not repeat forever). “repeat until not”, meanwhile, would be very clear in this case.
while <mouse down?> {
move (10) steps
} :: control
Just my thoughts.
Last edited by CST1229 (June 16, 2025 19:54:50)
- gilbert_given_189
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Put the while block in the block palette
I feel like the reason the while block isn't in the block palette is because it might slightly confuse new users about control flow; as in they'd try to make a script likeHow about rephrasing the block to `repeat while <>`?when flag clickedand then question why their sprite isn't moving when they release and hold the mouse button (because the block does not repeat forever). “repeat until not”, meanwhile, would be very clear in this case.
while <mouse down?> {
move (10) steps
} :: control
Just my thoughts.
- CST1229
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Put the while block in the block palette
(#137)might workI feel like the reason the while block isn't in the block palette is because it might slightly confuse new users about control flow; as in they'd try to make a script likeHow about rephrasing the block to `repeat while <>`?when flag clickedand then question why their sprite isn't moving when they release and hold the mouse button (because the block does not repeat forever). “repeat until not”, meanwhile, would be very clear in this case.
while <mouse down?> {
move (10) steps
} :: control
Just my thoughts.
- Discussion Forums
 - » Suggestions
 - 
            » Put the while block in the block palette 
         
            









