Set Color Source Color

Set a random or a HEX color for a color source
Preview
Preview

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.

Sourcerequired
Text

Select the source from this dropdown list, you can also manually enter a source name.

Random Color
Checkbox

This gets a random HEX color each time this sub-action runs

Colorrequired
Color

Choose a color, using the #RRGGBBAA format

Variables

This sub-action does not populate any variables.

C# Usage

public void ObsSetColorSourceColor(string scene, string source, string hexColor, int connection = 0)
public void ObsSetColorSourceColor(string scene, string source, int a, int r, int g, int b, int connection = 0)
public void ObsSetColorSourceRandomColor(string scene, string source, int connection = 0)