Set State

Modify the active state of a Stream Deck key or dial
Preview
Preview

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 to 1

C# Usage

public void StreamDeckSetState(string buttonId, int state)