Reorder a source (z-order)
set_source_orderAdjust a source's layering in a scene: position it behind all sources (e.g., background), bring it to the front (e.g., overlay), or move it one step up or down.
Instructions
Change a source's layer order. 'back' sends it behind everything (use for a background/screen added after a camera so it doesn't cover the cam); 'front' brings it above other sources (alert overlays keep their reserved top layer); 'up'/'down' move one step. New sources are added on top, so a background added last usually needs 'back'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | Yes | ||
| scene_id | No | Scene (default: active scene). | |
| source_id | Yes | From list_sources. |