Skip to main content
Corvus Connection

Stream Deck: Set State

StreamDeck
Action
streamdeck.setStateSets the state index of a multi-state Stream Deck action. Wire the trigger's 'context' into 'context' and the state index into 'state'.Sets a multi-state key's state index from a number input.
System

Inputs

Name
Kind
Type
Flags
in
Exec
exec
multiplexed
context
Data
System.String
None
state
Data
System.Int32
None
  • Name
    in
    Kind
    Exec
    Type
    exec
    Flags
    multiplexed
  • Name
    context
    Kind
    Data
    Type
    System.String
    Flags
    None
  • Name
    state
    Kind
    Data
    Type
    System.Int32
    Flags
    None

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None

Lowers to C#

await ctx.StreamDeck.SetStateAsync(context, state);