scratch-dsl
Toggle table of contents
master
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
scratch-dsl
scratch-dsl
/
org.scratchapi.scratchdsl
/
setVar
set
Var
fun
BlockHost
.
setVar
(
variable
:
Variable
,
expression
:
Expression
?
)
:
NormalBlock
Adds a 'set variable to' block.
Parameters
variable
The variable to set.
expression
The value to set the variable to.