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

Set State Dialog
Explore the full Stream Deck Plugin Documentation
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 valuesElgatoStreamDeckButtonState
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)