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

Preview
Explore the full Stream Deck Plugin Documentation
Parameters
Button IDrequired
Text
- If you give multiple buttons the same ID, all will be modified simultaneously
- You can utilize
%variables%
here to dynamically modify certain buttons
State
Number
default:
0
- By default, all sub-actions will modify the first button state,
0
- For example, to modify the 2nd state of an Action Switch, set
State
to1
C# Usage
public void StreamDeckSetState(string buttonId, int state)