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

ValueDescription
Visible

Set the visibility state to visible

Hidden

Set the visibility state to hidden

Toggle

Toggle the visibility state between visible and hidden

Variables

NameTypeDescription
 
Variables generated by all triggers and available within all action executions.

C# Usage

public void SlobsSetSourceVisibility(string scene, string source, bool visible, StreamlabsDesktopOutputType output = Both, int connection = 0)
Read more in API > C# > Methods > Streamlabs Desktop > Sources > Slobs Set Source Visibility