Elementium Sign in
Contents

Starts when · Starts a flow

When a player clicks a menu slot

Starts when a player clicks a slot in a menu a flow opened. The menu's carry values come with it.

Basic plan m.event.menu_click

In a flow

“When a player clicks a menu slot, the steps wired after it run.”

When a player clicks a menu slot → Switch on Button: buy → Take money, Give an item.

What it does

Starts when a player clicks a slot in a menu a flow opened. The menu's carry values come with it. It starts a flow, and gives the steps after it values about what happened. It gives 5 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when a player clicks a menu slot.

When not to

If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.

Typical wiring

Values it gives

Player Player

The player it's about. Wire it into any Player pin. e.g. Alex

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more

Menu Menu

The menu, with its carry values: {trigger.menu.carry.price}. e.g. Shop

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more

Slot Number

Which slot, from 0 (top left). e.g. 13

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more

Button Text

The value of the slot button they clicked. e.g. buy_sword

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Click Text

left, right or shift. e.g. left

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more

Often next

Related in Starts when

Wires and sockets · Data values · Plans