Set Source Visibility State

Show or hide a source in Streamlabs Desktop

Parameters

SlobsConnection
SlobsScene
SlobsSource
State
Number

Optionally select a specific button state to modify

  • By default, all sub-actions will modify the first button state, 0
  • For example, to modify the 2nd state of an Action Switch, set State to 1

Variables

NameTypeDescription
No data

C# Usage

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