Set State of a Random Filter

Set the state of a random filter

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 random filter

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

Variables

This sub-action does not populate any variables.

C# Usage

Set the state of a random OBS filter within a scene and/or source

public void ObsSetRandomFilterState(string scene, string source, int state, int connection = 0)
public void ObsSetRandomFilterState(string scene, int state, int connection = 0)