Set Source Visibility State
Show or hide a source in Streamlabs Desktop
Parameters
Connection
Select
Select the configured Streamlabs Desktop Connection to connect to
Scene
Text
Select a scene from the list, or enter a scene name
Source
Text
Select a source from the list, or enter a source name
State
Select required
Choose the desired visibility state for the selected source
| Value | Description |
|---|---|
Visible | Set the visibility state to visible |
Hidden | Set the visibility state to hidden |
Toggle | Toggle the visibility state between visible and hidden |
Variables
| Name | Type | Description |
|---|---|---|
| No data | ||
C# Usage
public void SlobsSetSourceVisibility(string scene, string source, bool visible, StreamlabsDesktopOutputType output = Both, int connection = 0)