Twitch Overlay Z-Order: Why Elements Stack Wrong and How to Fix Layering
October 29, 2026 · 6 min read
Your overlay elements are stacking in the wrong order. In OBS, the source at the top of the Sources list renders in front; the one at the bottom renders in back. In browser-based overlay tools (StreamElements, Streamlabs, custom HTML), z-index controls the same thing, and higher numbers sit on top. Most "my alert is behind my webcam" problems are fixed by moving one source or changing one number.
Here's the full layer order that works, how to fix it in each tool, and the layering mistakes that make an otherwise good overlay look amateur.
The overlay layer order that works for 95% of streams
Build your Sources list top-to-bottom like this. Top of the list = front of the screen.
- Alerts and notification pop-ups (front)
- Chat box (if on-screen)
- Webcam / camera frame
- HUD widgets — follower count, recent sub, goal bar
- Static overlay frame and borders
- Game capture
- Background / scene fill (back)
Why this order: alerts are transient and must never be blocked. Chat is read constantly. Your face is the trust signal — nothing should cover it. Static frames and borders go behind everything interactive because they're decoration, not information.
Two common deviations that still work:
- Goal bar at the bottom of the screen can sit above the static frame but below the webcam, since they rarely overlap.
- A "starting soon" or "BRB" scene flips the order — the full-screen graphic goes on top of everything.
Fix z-order in OBS: the Sources list
OBS renders sources top-to-bottom in the Sources dock. Drag a source up to bring it forward, down to push it back.
Check these three things, in order:
- Is the alert source above the webcam source? If alerts vanish when your camera is active, this is the cause 9 times out of 10.
- Is the game capture below the overlay group? If your overlay frame disappears when you alt-tab, the game capture is sitting above it.
- Do you have nested scenes? A scene used as a source acts as a single layer — everything inside it stacks together. If a nested scene is above your webcam, every element in it covers your face.
Pro tip: right-click a source and use Order → Move to Top instead of dragging. It's faster and you can't accidentally drop a source into a different scene.
Group related sources
Select your static overlay pieces (frame, borders, corner logo) and press Ctrl+G (Cmd+G on Mac) to group them. Groups move as one unit, so you can't accidentally leave a border floating above your camera. Name groups clearly — "Overlay – Static," "Overlay – Alerts" — so future-you doesn't have to guess.
Fix z-order in browser overlay tools
If your alerts or widgets come from a browser-source overlay service, layering happens in two places.
Inside the overlay tool: most dashboards let you drag widgets on a canvas. The one drawn later sits on top. If your alert box is rendering behind a static image inside the same overlay, drag it to the top of the widget list in the dashboard.
Inside OBS: the entire browser source is one layer. If your alert browser source sits below your webcam source in OBS, no amount of dashboard tweaking will bring it forward. Move the browser source up.
If you're using a single browser source for everything (one overlay URL containing alerts, chat, and widgets), you only get one layer in OBS. That's fine — but then all internal ordering must be solved in the dashboard, and the whole overlay will always sit at the same depth relative to your camera. Many streamers split into two browser sources: one for alerts, one for persistent widgets. That gives you independent control.
The layering mistakes that make a stream look amateur
Alerts covering the webcam
The alert fires, a big animated graphic covers your face for four seconds, and the viewer misses your reaction — the exact moment they came for. Keep alerts in a region that doesn't overlap the camera. If your alert template is centered, either move it to the upper third or reposition your camera.
Chat overlapping the game's HUD
On-screen chat is the most common offender. It sits top-right in most templates, which is exactly where many games put their minimap. Either move chat, or move the game's capture so the HUD isn't in the overlap. If you're tight on space, read Twitch Overlay Safe Zones: Where to Place Overlays So Nothing Gets Covered before you reposition anything.
Static frame above interactive elements
A decorative border sitting on top of your goal bar will visually clip it. Decoration goes behind information, always.
Too many layers fighting for the same space
If you have alerts, chat, a goal bar, a recent-sub ticker, and a follower count all in the top-right corner, the problem isn't z-order — it's density. Twitch Overlay Clutter: How Many On-Screen Elements Is Too Many? covers the practical ceiling.
Camera frame in front of the camera
A webcam frame is a separate source from the webcam itself. If the frame source is above the camera source, you get a border with a hole in it. Frame goes directly above camera, or use a single source that includes both. Sizing and offset details are in Twitch Webcam Overlay Frame: How to Size, Place, and Style Your Camera Border.
A 3-minute z-order test you can run right now
Run this before your next stream. It catches every layering bug in one pass.
- Trigger a test alert from your alert tool's dashboard. It must appear fully in front of everything — especially your camera.
- Type in your own chat. Your message must be fully visible, not clipped by a frame or camera border.
- Move your hand in front of the camera. No overlay element should be drawn over your face unless you intended it.
- Alt-tab out of the game. Your overlay frame and widgets must stay visible; only the game capture should go black or show the desktop.
- Check the mobile preview. Open your channel on your phone. Elements that stack cleanly at 1080p can overlap at smaller viewport sizes — especially chat and alert boxes.
If any step fails, the fix is almost always one source move in OBS.
Z-order vs. opacity: don't confuse the two
Layering decides what's in front. Opacity decides how much you see through it. They solve different problems, and streamers often reach for transparency when the real issue is stacking.
If an element is genuinely hidden, fix the layer order. If it's visible but visually noisy, fix the opacity. Twitch Stream Overlay Opacity: How Transparent Should Your Overlays Be? has the working ranges.
One rule that saves time: never lower opacity to hide an element you placed badly. Move it instead.
Keep a written layer map
Write down your intended stack and stick it in your scene notes:
Alerts → top
Chat
Webcam
Widgets
Static frame
Game capture
Background → bottom
When you add a new widget six weeks from now, you'll know exactly where it belongs. Streamers who skip this step end up with five slightly different layer orders across five scenes — and the inconsistency is visible to viewers switching between your game, just chatting, and BRB scenes.
What to check after you fix the layering
Once the stack is right, the remaining polish questions are sizing, contrast, and consistency. A layer order that's correct but built on mismatched overlay sizes will still look off. If you want a second set of eyes on the whole picture — overlays, branding, scene setup, and discoverability — Get your free Streamlint audit and it'll name the specific fixes, layer problems included.
Streamlint is an independent tool and is not affiliated with Twitch, OBS, StreamElements, or Streamlabs.
small and mid-size Twitch streamers who want their channel to look and perform more professionally.
Get your free Streamlint audit →