Poll Widget
Shows the widgets nested inside it only while a Twitch poll is running, and carries the live question and choice votes.
Add it from Add Widget → Primitives → Poll and nest your widgets inside. They fade in when a poll starts and hide when it ends.
Settings
| Setting | Description |
|---|---|
| Linger after end | Seconds to keep showing after the poll ends (default 0). |
| Fade duration | Fade in/out time, in milliseconds. |
| Invert | Show the nested widgets only while there is no poll. |
| Backdrop | 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.
| Variable | Description |
|---|---|
`{{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 stay hidden until then.
See also
- Hype Train has a full walkthrough of displaying values.