Actions58
- Streaming Actions
- Recording Actions
- Virtual Camera Actions
- Scene Actions
- Source Actions
- Audio Actions
- Filter Actions
- Transition Actions
- Media Actions
- Text Source Actions
- Hotkey Actions
- Profile Actions
- Screenshot Actions
- General Actions
Source → Set Visibility
AI-generatedSummary
Set the visibility of a specified source within a scene in OBS Studio.
Inputs
- Source Name (required) — The exact name of the source to show or hide.
- Visible (required) — A boolean indicating whether the source should be shown (true) or hidden (false).
- Scene Name — The name of the scene containing the source; if left empty, the current active scene is used.
Output shape
A JSON object indicating success status and a message describing the visibility change outcome for the specified source in the specified scene.
If the scene name is omitted, the operation targets the currently active scene in OBS. An error occurs if the source is not found within the scene. The output confirms the visibility state applied.
Examples
Example 1: Show a source named 'Camera' in the current scene.
Set Source Name to 'Camera', Visible to true, and leave Scene Name empty.
Example 2: Hide a source named 'ImageOverlay' in a specified scene 'Scene 1'.
Set Source Name to 'ImageOverlay', Visible to false, and Scene Name to 'Scene 1'.