Skip to main content

Streamer Variables

Streamer Variables are custom values you define and control, such as counters, states and messages. Use them in flows and overlay widgets.

  1. Open Streamer Variables in the sidebar
  2. Click Create Variable
  3. Set a name and initial value

Set the value from flows with the Set Broadcaster Variable effect. Read it with the Broadcaster Variable data node, or in overlay Text widgets.

Text Style Variables​

A variable of type Text Style holds a style, picked from style tiles.

  • In flows, connect a Text Style Data node to Set Broadcaster Variable. The effect's value field is disabled and says "Connect a Text Style node".
  • In the overlay editor, link widgets to the variable from the style picker. They redraw live when a flow changes it. See Linking a style to a variable.
  • A custom type can have Text Style fields, so one variable can hold a whole theme.

Using in Flows​

Using in Overlays​

Reference streamer variables in Text widgets with the double curly brace syntax, like special variables.

Using in the Chatbox​

A Custom Message block in the Chatbox editor prints a streamer variable with {{streamVar.<name>}}, for example {{streamVar.deathCount}}.

The Chatbox Flow Editor has Get Broadcaster Variable and Check Broadcaster Variable nodes.

See Also​