Set Random Scene Source Visible

Select a random source from the selected scene and make it visible, if all items are visible, it will do nothing

Parameters

Connectionrequired
Select

Select the configured OBS Studio Connection to connect to

  • Any - trigger on events from any OBS connection
  • Default - 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.

Variables

The following variables will be populated after executing this sub-action:

Description
randomSourcestring

name of the chosen random source

Example: Game Capture

C# Usage

public string ObsSetRandomSceneSourceVisible(string scene, int connection = 0)