changeVar

fun BlockHost.changeVar(variable: Variable, expression: Expression?): NormalBlock

Adds a 'change variable by' block.

Parameters

variable

The variable to change.

expression

The amount to change the variable by.