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
| Value | Description |
|---|---|
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
| Name | Type | Description |
|---|---|---|
| No data | ||
C# Usage
public void SlobsSetRandomFilterState(string scene, int state, int connection = 0)