obs_scene_item_order
Inspect or modify OBS scene item layering. Provide sceneName to read the draw order, or include sceneItemId and index to reposition an item. Index 0 is the bottom layer.
Instructions
Read or change z-order - which source is drawn on top of which.
INDEX 0 IS THE BOTTOM. Higher index draws later, so it covers everything below it. This is upside down from the OBS window, which lists the topmost source first, and getting it backwards is the single easiest way to make a layer vanish.
On the reference machine the BG layer is deliberately parked at index 0 of every scene so no scene is ever pure black. Anything full-canvas and opaque placed above it hides it completely and the symptom is simply a black background with no error anywhere - two opaque black rectangles had to be hidden before BG showed at all. If a background stopped showing, check what is above it before you touch the background itself.
Call with sceneName only to read the whole stack bottom-first. Add sceneItemId and index to move one item; the full resulting order comes back either way. Indexes are renumbered contiguously after a move, so read the stack again before a second move rather than reusing the numbers you just saw.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | New index. 0 = bottom. Requires sceneItemId. | |
| sceneName | Yes | Scene to read or reorder. | |
| sceneItemId | No | Item to move. Omit to only read the order. |