Skip to main content

Overlay Variable

Runs on: Backend.

Outputs the stored value of a variable on one of your overlays. The overlay and variable must already exist in the overlay editor.

The output type follows the variable's type: number gives a number, boolean gives a boolean, array types give the matching array, and everything else gives a string. Changing the selected variable removes any connections on the output.

Outputs​

NameTypeDescription
outputstring, number, boolean, or arrayThe current value of the selected variable.

Configuration​

  • Overlay: The overlay that owns the variable.
  • Variable: The variable to read.

Example​

A "viewer streak" flow reads the current streak with Overlay Variable, adds one with a Math node, and writes it back with a Set Overlay Variable effect, all triggered by a chat event.