Set Source Filter State

Modify the visibility of a source filter

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 SlobsSetFilterState(string scene, string filterName, int state, int connection = 0)
Read more in API > C# > Methods > Streamlabs Desktop > Filters > Slobs Set Filter State