Skip to main content

Poll Widget

The Poll widget reveals the widgets nested inside it only while a Twitch poll is running, and carries the live question and choice votes so the widgets inside can display them.

How it works

  1. Add a Poll widget (Add Widget → Primitives → Poll).
  2. Nest your widgets inside it.
  3. They're hidden by default, fade in when a poll starts, and hide when it ends.
  4. Invert flips it — show the nested widgets except while a poll is up.

Settings

SettingDescription
Linger after endSeconds to keep showing after the poll ends (default 0).
Fade durationFade in/out time, in milliseconds.
InvertShow the nested widgets only while there is no poll.
BackdropOptional background colour behind the nested widgets.

Displaying the live values

Add a widget inside, set a dynamic value (the </> toggle), and pick from the Show / Hide widget values group or type it in.

VariableDescription
`{{subtreeContext.poll.title}}`The poll question.
`{{subtreeContext.poll.choices.0.title}}`The first choice's label (.1, .2, … for the rest).
`{{subtreeContext.poll.choices.0.votes}}`The first choice's vote count.
`{{subtreeContext.poll.active}}`true while a poll is running.
note

A widget that loads in the middle of a poll catches up on the next vote update, so it may briefly stay hidden until then.

See also

  • Hype Train — the same idea for Hype Trains, with a full walkthrough of displaying values.