While: Difference between revisions

From PenguinMod Wiki
Jump to navigation Jump to search
Content added Content deleted
(Adding categories)
mNo edit summary
Line 1: Line 1:
{{Blocks|block_img=<gallery>
{{Blocks|block_img=<gallery>
Block 5 1 2023-6 20 27 PM.png|Block
Block 5 1 2023-6 20 27 PM.png|Block
Block_11_26_2023-4_52_55_PM.png|Workaround
scratchblocks3.png|Workaround
</gallery>|block_type=C-Shape Block|category=Control|caption-block_img=|status=Turbowarp Block}}
</gallery>|block_type=C-Shape Block|category=Control|caption-block_img=|status=Turbowarp Block}}



Revision as of 19:55, 27 November 2023

While
...
[[File:|200px]]
Block Type C-Shape Block
Category / Extension Control
Status Turbowarp Block

The while block is a c-shaped block that runs the inverse of the boolean inside it. This block infact is in vanilla Scratch but got removed in the 3.0 update, but is still usable. Turbowarp has added it to their toolbox and so has PenguinMod.

Workaround

This block can be worked around using ‘repeat until <not<>>’.