This article is also available in:

🟩 Input number

🟩 Input number


Input number


The Input Number block asks the player for a number, using a simple input field.


It's useful anywhere the story needs a number: a calculation, a bet in a game, a setting, an age... On mobile, the numeric keyboard shows up automatically to make typing easier.


πŸ“₯ Entries


  • header (Text): the question or instruction shown to the player (e.g.: "What is your age?").
  • button (Text, default "OK"): the text shown on the confirm button.


πŸ“€ Outings


  • Outgoing Stream: continues the story once the player has confirmed their entry.
  • value (Number): the number entered by the player, ready to be used in a calculation or a condition.


πŸ’‘ Example of use


Scenario: In-store discount calculation


  1. The player arrives at the checkout with an item priced at €80.
  2. The Input number block is set up with the header "What discount percentage do you want to apply?" and the button "Confirm".
  3. The player types "15" on their numeric keypad and taps the button.
  4. The value (15) is sent to a calculation block to apply the discount (€80 Γ— 0.85 = €68).
  5. The Outgoing Stream displays the new price and continues the story.


βš™οΈ Technical Details


  • Numeric keyboard: on mobile, the keyboard automatically switches to numeric mode to make typing easier.
  • Customizable button: the button text (default "OK") can be changed, for example to "Confirm" or "Submit".



Documented version: v1

Updated on: 06/09/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!