obs_scene_item_remove
Remove a scene item from its scene, deleting only its placement. The source remains available in other places, but this action is permanent with no undo.
Instructions
Remove one scene item from its scene.
This removes the PLACEMENT, not the source. The same input placed in other scenes keeps working there, keeps its settings and keeps its filters - so deleting a camera from the BRB scene does not disturb it anywhere else. Only when you remove the last placement does the input itself lose its last reference, and its settings go with it, so the final copy is the one to think twice about.
There is no undo over the websocket. If the goal is just to get something off screen, obs_set_source_visible is reversible and this is not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneName | Yes | Scene holding the item. | |
| sceneItemId | Yes | Item id from obs_list_sources_in_scene. Unique within this scene only. |