Menus · Value
Menu page
Which page of a paged menu a player is on, how many pages there are, and whether it's the first or last.
m.menu.page
In a flow
“When a player clicks a menu slot → Menu page → If Last is true → Answer: That's the end of the list.”
When a player clicks a menu slot → Menu page → If Last is true → Answer: That's the end of the list.
What it does
Which page of a paged menu a player is on, how many pages there are, and whether it's the first or last. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 4 values later steps can use. Find it under Menus in the palette.
When to use it
Use it when the flow needs to: which page of a paged menu a player is on, how many pages there are, and whether it's the first or last.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Player Player
-
Leave unwired for the player who started the flow, or wire one in, like Player from When a player joins.
What goes there: Type it in the side panel, or wire in a player. e.g. Alex
If it's empty: Optional. Left empty and unwired, the step runs without it.
Values it gives
- Page Number
-
The page showing, from 1. e.g. 2
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
- Pages Number
-
How many pages there are. e.g. 5
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
- First Yes / no
-
True on the first page. e.g. false
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more
- Last Yes / no
-
True on the last page. e.g. false
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more