Set State of a Random Filter
Set the state of a random filter
Preview
Parameters
Connectionrequired
Select
Select the configured OBS Studio Connection to connect to
Any
- trigger on events from any OBS connectionDefault
- trigger on events from the default OBS connection
Scenerequired
Text
Select the scene from this dropdown list, you can also manually enter a scene name.
Sourcerequired
Text
Select the source from this dropdown list, you can also manually enter a source name.
Staterequired
Select
Select the state for the random filter
Visible
: Set the filter state to visibleHidden
: Set the filter state to hiddenToggle
: 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
State => 0 = enable, 1 = disable, 2 = toggle
public void ObsSetRandomFilterState(string scene, string source, int state, int connection = 0)
public void ObsSetRandomFilterState(string scene, int state, int connection = 0)