Set State

Modify the active state of a Stream Deck key or dial
Set State Dialog
Set State Dialog

Parameters

Button ID
Text

The ID of the Stream Deck button or dial to modify.

If you give multiple buttons the same ID, all will be modified simultaneously
You can utilize %variable% syntax to dynamically modify buttons with argument values
ElgatoStreamDeckButtonState
Number
Default:
0

Optionally select a specific button state to modify

For example, to modify the 2nd state of an Action Switch, set State to 1

C# Usage

public void StreamDeckSetState(string buttonId, int state)
Read more in API > C# > Methods > Elgato > Stream Deck > Set State