Skip to content

<<set>>#

Warning

You are reading documentation for Twine 1. This is maintained for archival purposes only.

The <<set>> macro "sets" a value into a variable. Any value that can be stored like numbers, strings, and even arrays can be "set."

Example:

<<set $variableName to "Value">>