Skip to main content

Game Category Widget

The Game Category widget reveals the widgets nested inside it only while your stream is set to a category you pick — handy for game-specific overlays (a speedrun timer that only shows during a particular game, art for "Just Chatting", and so on).

How it works

  1. Add a Game Category widget (Add Widget → Primitives → Game Category).
  2. In its settings, search for and pick a category (your Twitch game/category).
  3. Nest your widgets inside it.
  4. They show only while your stream's category matches; otherwise they're hidden.
  5. Invert flips it — show the nested widgets except while in that category.

Settings

SettingDescription
CategorySearch and select the Twitch category/game that triggers it.
Fade durationFade in/out time, in milliseconds.
InvertShow the nested widgets only while you are not in the chosen category.
BackdropOptional background colour behind the nested widgets.

Displaying the live value

VariableDescription
`{{subtreeContext.category.category}}`Your current Twitch category name.
`{{subtreeContext.category.active}}`true while the category matches.

See also

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