> ## Documentation Index
> Fetch the complete documentation index at: https://docs.streamwizard.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Hype train

> A train rides across your stream with a wagon for everyone who cheered, subbed or gifted.

When Twitch starts a hype train, a train rolls onto your stream and keeps
riding until the train ends. Everyone who cheered, subbed or gifted subs gets
their own wagon with their name and picture on it. The biggest supporters ride
up front.

![A cartoon train with wagons labelled with supporter names and what they gave.](https://mintcdn.com/streamwizard/BNQY8cJEbkTpk4aP/images/overlays/hype-train-widget.png?fit=max\&auto=format\&n=BNQY8cJEbkTpk4aP\&q=85\&s=c60bd9dfa0be89444ad12fa895b2de9b)

A hype train at level 2, a wagon for each supporter.

## Before you start

* You have an overlay. [Make one first](https://docs.streamwizard.org/overlays/quickstart.md) if you don't.
* Hype trains come from Twitch. You don't start one, your chat does.

## Add the hype train

**1. Add the widget**

In the overlay editor, open **Widgets → Alerts & chat** and pick
**Hype train**. It's added at the full size of your overlay, because a
bouncing train needs room to roam.

**2. Watch a test run**

Select **Start a test train**. A fourteen-second train rides through with
riders arriving as it goes. **Riders**, **Level up** and **End** let you
push it along by hand once it's running.

**3. Pick how it moves**

**Movement** under **Ride** is either **Bounce around**, which sends the
train ricocheting around the box, or **Straight across**, which runs it
along the bottom edge.

## Who gets a wagon

Everyone who cheers, subs or gifts subs during the train, plus anyone who
chipped in during the five minutes that got the train started. Riders are
ordered by what they gave, and the order re-sorts live, so a wagon hops over
the others when someone overtakes.

Gifted subs credit the gifter, not the recipients. Anonymous contributions are
merged into one rider called `Anonymous`.

**Wagons** caps how many ride individually, at 20 by default. Everyone past
that shares one last wagon showing how many more there are.

## Designs

**Train** under **Look** has three:

| Train | What it looks like |
| - | - |
| **Steam** | A classic locomotive with a smoking chimney. |
| **Neon** | A sleek glowing bullet train. |
| **Toy** | A chunky wooden toy train in bright colours. |

> [!NOTE]
>
> Twitch sometimes runs a Golden Kappa train. Those ride in gold whatever colours
> you pick here.

## Settings

**Ride**

| Setting | Default | Range |
| - | - | - |
| **Speed** | 420 px/s | 100 to 1500 |
| **Faster every level** | 15% | 0 to 50 |
| **Wagons** | 20 | 1 to 50 |
| **New riders arrive** | Drop in | None, Fade, Pop, Chase, Drop in |

**Faster every level** is measured against the starting speed rather than
compounding, so at 15% a level 5 train rides 60% faster than it started, not
75%. However fast the maths gets, the train tops out at 3000 px/s.

**Look**

| Setting | Default |
| - | - |
| **Train size** | 150 px |
| **Profile pictures** | On |
| **Bits and subs** | On |
| **Level on the engine** | On |
| **Train** / **Trim** / **Text** colours | Purple, amber, white |

## See it before you go live

You don't need a real follower to see a widget work. In the overlay editor,
select **Demo** in the toolbar to open the demo panel, pick an event and
select **Fire**.

The **Local** and **Live** switch decides where those events go:

| Mode | Where the event lands |
| - | - |
| **Local** | This canvas only. Nothing leaves the editor. |
| **Live** | Through the overlay server, so this canvas and every overlay you have open get the same event. |

Live stays greyed out until the editor is connected to live events. Local is
the safe default while you're still building: nothing reaches a stream you
happen to have running.

The mode covers every test in the editor, including the **Test** buttons inside
the alert box settings.

Testing the same alert for an hour? Select the speaker button in the editor
toolbar to mute the editor. It silences alerts, clips and custom widgets on the
canvas, and stays muted the next time you open the editor. Your overlay in OBS
still plays sound.

> [!TIP]
>
> Simulators keep running after you close the demo panel, which is what you want
> when you're dragging a widget around and need events arriving the whole time.
> The **Demo** button shows a count while any are running.

**Preview** plays a scripted train with made-up riders, which is the quickest
way to judge a colour change.

## If it doesn't work

> [accordion] The train is smaller than I set
>
> **Train size** is capped by the height of the widget box. A 400 px train in
> a 200 px tall box draws at 200 px. Make the box taller.

> [accordion] Straight across runs along the bottom of my screen
>
> It rides along the bottom edge of the **widget**, and the widget defaults to
> your whole overlay. Resize or move the box to put the track where you want
> it.

> [accordion] Direction does nothing
>
> **Direction** only applies to **Straight across**. In **Bounce around** the
> train picks its own way about, so the control is hidden.

> [accordion] A rider has no picture
>
> Profile pictures are fetched from Twitch per rider. Test riders and
> anonymous contributors have no account to fetch, so they fall back to the
> first letter of the name.

> [accordion] A rider shows no amount
>
> **Bits and subs** can only show what Twitch reported. A contribution Twitch
> only counted as an "other" total has nothing to print, so that wagon shows
> the name alone.

## Next steps

> [card] [Alerts](https://docs.streamwizard.org/overlays/alerts.md)
>
> Alert on the individual subs and cheers too.

> [card] [Emote wall](https://docs.streamwizard.org/overlays/emote-wall.md)
>
> Set off a burst of emotes while the train rides.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.