An overlay puts part of the bot on your stream: an alert, a chat display, a caption or a player. It is a web page that OBS keeps open as a Browser source, so viewers can see or hear its output. You configure the bot in the dashboard and display that output in OBS; keeping the dashboard open by itself does not put anything on stream.
There are two places to look. The OBS page has Required overlays for the bot’s supplied alerts and players. The Overlays page holds your other overlays and their settings, health and code.
Who can use this page
A Moderator, Lead moderator, Editor or Broadcaster may open the page and change overlays. The roles are explained on Permissions.
The Broadcaster may also let a VIP open the page. A VIP can then copy an overlay’s address, which carries its secret token, as Let a VIP see the overlays explains.
Create an overlay
New overlay starts a custom overlay that you or someone helping you writes in code. For an existing overlay, changing its Settings is the simpler way to adjust its appearance. The code path is optional; Widgets, actions and templates covers the programming tools.
- Open Overlays in the sidebar and choose New overlay. The New overlay dialog opens.
- Type a name in Name, for example
My alerts. - Choose a Code language (see the table below), or keep the default, Vue. You cannot change the code language after you create the overlay.
- Choose Create overlay. The dialog closes and the new overlay opens beside the list, switched on.
The new overlay has its browser source address at once. Copy browser source address and Connect work right after Create overlay, before any Save & Compile.
| Code language | Pick it when |
|---|---|
| Vue | You write the overlay with Vue, a JavaScript framework for web pages. |
| Plain HTML, CSS and JavaScript | You write the overlay as a plain web page, with no framework. |
When Name is empty, the dialog shows “Give the overlay a name.” Nothing is made.
A new overlay starts from a starter for the language you chose, so Edit code opens at once. You change its code with Edit code (see Change the code). What an overlay can react to is explained on Widgets and alerts.
Find an overlay
The list shows the channel’s overlays, except the overlays the bot needs, which are on the OBS page. The tabs above it filter the list, and each tab shows its count.
| Tab | What it shows |
|---|---|
| All | Every overlay of your channel. |
| On | Overlays that are switched on. |
| Off | Overlays that are switched off. |
| Has a problem | Overlays whose last run failed. |
Search overlays filters the list by name. Choose an overlay in the list to open it beside the list.
Each row shows a state text and a colored dot. The text is Off, A browser source is open or Nothing attached. Gray means off, green means a browser source has the overlay open, and orange means it is on but nothing has it open. Red means the last run failed, and the row also shows Fails.
Each row also has a Connect button (Configure once a browser source has it open). It opens the OBS setup dialog for that overlay, with Copy address. An overlay you made yourself shows no size and no OBS boxes in that dialog. Give its browser source 1920 x 1080, tick Control audio via OBS only when it plays sound, and leave Shutdown source when not visible off, as OBS browser source explains. The button is disabled when the overlay has no address.
What an open overlay shows
The top of an open overlay holds its name and its controls. A badge Built in marks an overlay that comes with the bot. A badge Edited marks a built-in overlay whose code your channel changed.
| Part | What it holds |
|---|---|
| Settings | The choices of the overlay, such as colors and texts. |
| Health | Whether the last run worked, and whether a browser source has it open. |
| Reacts to | The events the overlay listens to, each with a Test button. |
Copy browser source address copies the address OBS needs. The button then reads Address copied. The page never shows the address itself.
Read the health
Health shows two lines. The first line says how the last run went. The second line says whether a browser source has the overlay open.
| First line | What it shows |
|---|---|
| Works | “No fault. Last ran” and when, or “No run on record.” for an overlay that never ran. |
| Failed | The fault of the last run. |
| Second line | What it shows |
|---|---|
| A browser source is open | “Events reach your stream.” |
| Nothing attached | “No browser source has it open. Its output is lost until you add the address in OBS.” |
| Switched off | “It does not run until you switch it on.” |
Test an event
Choose Test beside an event under Reacts to. The bot sends a sample of that event to this overlay only. The row then shows “Sent to this overlay”, or “Sent, but no browser source has it open”. When the overlay did not accept the sample, it shows “This overlay does not react to this event”. A switched-off overlay always gives that answer, because Test reaches only overlays that are switched on.
Keep an overlay up to date
Change the settings
- Open the overlay and change a value under Settings. The panel shows “Unsaved changes. Open sources reload on save.”
- Choose Save settings. The panel shows “Saved.”
Every browser source that has the overlay open gets the new settings at once.
When the save fails, your changes stay in the panel, so you can try again. A value that differs from its default has a reset button.
Change the code
- Open the overlay and choose Edit code. The code editor opens.
- Change the code and choose Save & Compile. The bot turns the code into the version the overlay runs. The editor shows “Saved and compiled. The overlay now runs this version.”
The code SDK is described in the separate Code and SDK section.
Switch an overlay on or off
Use the Overlay on switch at the top of an open overlay. The text beside it changes to On or Off. A switched-off overlay does not run until you switch it on.
Copy an overlay
Choose Duplicate at the bottom of an open overlay. The copy is named “Copy of” followed by the original name, and it opens at once, so you can change it. The copy starts switched on. It has its own browser source address, different from the original’s, so paste the copy’s address into OBS. An overlay with no compiled code yet cannot be copied. The error shows under the footer.
Put the supplied overlays on stream
Start here if you want alerts, speech, sounds, music or media share without writing code. Open OBS, choose Overlays in OBS, and find Required overlays. Each row’s Connect button (Configure once the source is loaded in OBS) opens a setup dialog with the OBS settings for that source and a Copy address button. The dialog does not show the address itself.
Choose the source for the feature you are setting up:
- Alerts for visual notifications.
- Bot Audio for sound clips.
- TTS caption for speech and captions.
- Music Player for music playback.
- Media share for shared videos.
Choose Copy address, paste it into an OBS Browser source and follow the dimensions and audio settings in the dialog. OBS browser source walks through those steps and shows how to check the result.
The stage source is a transparent full-screen layer for one-off effects that a command or pipeline triggers, such as text running across the screen, confetti, a shake or a flash. It draws nothing while idle. The raid recap is not in this list: once your channel installs it, it has its own address on the Overlays page. The OBS control row is the bridge page the bot needs when OBS runs on another computer.
These supplied sources are separate from the custom list on Overlays. You do not need to make a new blank overlay or edit code to connect them.
Delete an overlay
- Choose Delete at the bottom of an open overlay. The dialog lists what else uses the overlay, or says “Nothing else uses this overlay.”
- Choose Delete overlay. The overlay leaves the list.
The overlay stops working in every browser source that uses it. This cannot be undone.
Set the audio levels
Audio levels at the top of the page opens Music vs Bot audio levels. It sets how loud the music plays against the bot voice and sounds on your overlays. The levels are the same for every overlay and on every streaming PC. Audio levels follows the Sounds permission instead of the widget one: you need to read sounds to see it, and to change sounds to move its sliders.
| Setting | What it sets |
|---|---|
| Master volume | The loudness of your sound clips and text-to-speech. It does not change the music. |
| Voice volume | The loudness of the text-to-speech voice. |
| Music duck percent | How loud the music stays while the voice speaks. 100 means no ducking. |
Each level has a slider and a number box. A level saves by itself when you release the slider, when the number box loses focus or when you press Enter. There is no Save button.
Let a VIP see the overlays
The Broadcaster lets a VIP open the page on the Permissions settings page, in the Widgets area of the Actions tab. A VIP then sees the overlays and can open them. Only a role that can change overlays sees Test, Edit code, Duplicate and Delete. Copy browser source address and the Connect dialog with Copy address need only the read permission, so a VIP sees them too. That address carries the overlay’s secret token, so a Broadcaster who opens the page to VIPs also lets them copy it. For a VIP, New overlay shows “You can view this, but your role cannot change it.”