24th July 2026 at 11:58pm
set and setTo work as a pair to assign a value when the button is clicked:
setnames the storage location, a TextReferencesetTois the value written to it
set points at the location itself, so it takes no curly brackets, unlike an ordinary transclusion.
Click a colour to write it to the state tiddler shown below.
| title | Output |
Selected colour: