Set State of a Random Filter

Set the state of a filter randomly selected from a given scene or source

Parameters

Connection
Select

Select the configured Streamlabs Desktop Connection to connect to

Scene
Text

Select a scene from the list, or enter a scene name

Source
Text

Select a source from the list, or enter a source name

State
Select

Select the new state for the selected filter

ValueDescription
Visible

Sets the filter state on your scene to Visible

Hidden

Sets the filter state on your scene to Hidden

Toggle

Toggles the filter state on your scene between Visible and Hidden

Variables

NameTypeDescription
 
Variables generated by all triggers and available within all action executions.

C# Usage

public void SlobsSetRandomFilterState(string scene, int state, int connection = 0)
Read more in API > C# > Methods > Streamlabs Desktop > Filters > Slobs Set Random Filter State