set () to ()

From PenguinMod Wiki (Official)
Set () to () (Temporary Variables)
Jump to navigation Jump to search

This article is about the block in the Temporary Variables extension. For other uses, see set (disambiguation).

The set () to () block is a stack block in the Temporary Variables extension. It sets the temporary variable to the entered in value. The first default input is "Variable", while the other is "Value".

Workaround

This block can be worked around using subtraction with the change () by () block:

change [Variable] by ((change::grey) - (get [Variable]::#0869c2))::#0869c2