change () by ()
Change () by ()
change () by () | |
---|---|
change [ v] by () | |
Block Type | Stack Block |
Category / Extension | Variables |
The change () by () block is a stack block in the Variables subcategory that changes the value of the selected variable by the specified amount. The default number is 1. It originates from Scratch.
Workaround
This block can be worked around with the following code:
set [var v] to ((var) + (amount ::grey))
The amount reporter is used as a placeholder for the amount that one wants the variable's value to be changed by.