Set Source Visibility State

Show or hide a source in Streamlabs Desktop

Parameters

Connectionrequired
Select

Select the configured Streamlabs Desktop Connection to connect to

Scenerequired
Text

Select a scene from the list, or enter a scene name

Sourcerequired
Text

Select a source from the list, or enter a source name

Staterequired
Select

Choose the desired visibility state for the selected source

  • Visible: Set the visibility state to visible
  • Hidden: Set the visibility state to hidden
  • Toggle: Toggle the visibility state between visible and hidden

Variables

This sub-action does not populate any variables.

C# Usage

public void SlobsSetSourceVisibility(string scene, string source, bool visible, StreamlabsDesktopOutputType output = Both, int connection = 0)