Skip to content

Decks triggers

Deck item pressed

Runs when someone presses a button on one of your decks, which are web pages of buttons you open on a phone or tablet. Good when one button should do a few things.

Setting What to put in
Deck Only react to buttons on this deck, by its name. Leave empty for any deck.
Item Only react to this button, by its name. Leave empty for any button.

Variables you get

Variable What it holds
%deckName% The name of the deck
%deckItemName% The name of the button that was pressed
%deckItemState% The button's look now: 0 normal, 1 active
%deckPage% Which page of the deck it was on, counting from 0
%deckPageNumber% Which page it was on, counting from 1 (like the page steps)
%deckClient% Which device pressed it
%deckId% The deck's ID
%deckItemId% The button's ID

Type id: decks.itemPressed