Toggle State

Toggle the current state of a Stream Deck key or dial
Toggle State Dialog
Toggle 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

C# Usage

public void StreamDeckToggleState(string buttonId)
Read more in API > C# > Methods > Elgato > Stream Deck > Toggle State