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
to1
Variables
Name | Type | Description |
---|---|---|
No data |
C# Usage
public void SlobsSetSourceVisibility(string scene, string source, bool visible, StreamlabsDesktopOutputType output = Both, int connection = 0)
CPH.SlobsSetSourceVisibility(scene, source, visible);
CPH.SlobsSetSourceVisibility(scene, source, visible, output, connection);