set () to ()
set () to () | |
---|---|
Block Type | Stack Block |
Category / Extension | Variables |
- This article is about the block in the Variables subcategory. For other uses, see set (disambiguation).
The set () to () block is a stack block in the Variables subcategory that sets the selected variable to the inputted value. It originates from Scratch.
Workaround
This block can be worked around by using the change () by () block with the () - () block used in the input (the 1st input of the () - () block would be the value that one is trying to set the variable to, while the 2nd input would be the variable used). However, this workaround only works with numbers.