Set Source Visibility State

Show or hide a source

Parameters

Connectionrequired
Select

Select the configured OBS Studio Connection to connect to

  • Select Any to trigger on any connection
Scenerequired
String

Select the scene from this dropdown list, you can also manually enter a scene name.

Sourcerequired
String

Select the source from this dropdown list, you can also manually enter a scene name.

Staterequired
Select

Select the state for the source visibility state

  • 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 ObsSetSourceVisibility(string scene, string source, bool visible, int connection = 0)