Increment counter: Difference between revisions

From PenguinMod Wiki
Increment counter
Jump to navigation Jump to search
Content added Content deleted
(Removed redirect to Counter)
No edit summary
Line 3: Line 3:
|block_img =
|block_img =
|block_type = Stack Block
|block_type = Stack Block
|category = [[Control Expansion]]
|category = [[Control Expansion]] (originally Experimental Blocks, moved to [[Control]] in Scratch 3.0)
|title = increment counter
|title = increment counter
}}
}}

Revision as of 21:09, 19 December 2023

Images needed

This article needs images or better quality images. You can help PenguinMod Wiki by adding the images or uploading them. Specifically: There is no image for the workaround or the block itself.

increment counter
...
[[File:|200px]]
Caption
Block Type Stack Block
Category / Extension Control (originally Experimental Blocks, moved to Control in Scratch 3.0)
Status Who tf uses status

The increment counter block is a stack block that increases the counter by 1.

Workaround

This block can be worked around by setting the counter to 1 + the current counter by using the counter reporter block and the set counter to () block.

See also