19. Widget input is not a new global event
Every GUI element can use the common Hover, Click, Double Click, Right Click and Double Right Click routes where supported by its control. Widgets also have built-in jobs: toggles write their bound variable, sliders write a number, text boxes can submit parser commands, and save rows carry slot information.
| Widget route | Useful data / behavior | Do not assume... |
|---|---|---|
| Check box / radio button | Updates the bound variable from its toggled state. | That there is a shared OnCheckBoxChanged subscription. |
| Slider | Updates its bound variable as the value changes. | That Click alone reports every drag value. |
| Text box | Can submit text to the parser or use its configured text behavior. | That every keystroke is a global action-list event. |
| Progress threshold | Provides percentage and value to its configured response. | That a threshold callback is one of the five mouse events. |
| Save-game row event | Adds saveSlot, saveExists, saveName and other slot metadata. | That the currently selected slot always exists. |
| Inventory item interaction | Uses the item's verb/combination actions and inventory context. | That an inventory icon is the same scene entity as the pickup. |
For progress thresholds, keep one place responsible for ordered work. The threshold route can launch a selected script and an action list without a single shared await chain; put a strict sequence inside the script if its order matters.
Use the widget's dedicated tutorial for its detailed layout and binding controls. Here the important distinction is which route starts your logic and which values that route actually passes.
