Incr Counter
incr counter:: #c3af00
Category Experimental (in 2.0), Control (in 3.0)
Type Stack
increment counter:: control
The Incr Counter block's appearance in Scratch 3.0.

The incr counter block was a stack block and an experimental block. It incremented the value of the counter by 1, which could be reported by the Counter block. Like most experimental counter blocks, it was a hidden block, meaning it could not be accessed via the block palette.

This block is still present in Scratch 3.0 as a hidden block, and is fully functional. The block was renamed to "increment counter", and was moved to the Control category.


Main article: List of Block Workarounds

This block's functionality can still be accessed with the a single change () by () block:

change [counter v] by (1)

The workaround should be used in conjunction with these two workarounds for the Counter and Clear Counter blocks:

(counter) // Counter workaround

set [counter v] to [0] // Clear Counter workaround

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.