Understand Buttons, action lists and scripts
Figure 5. A Resume Button uses System Resume, which closes the system menu and restores gameplay.
| Use this event choice | When |
|---|---|
| Set Verb | The Button selects Walk, Look, Use or another authored verb. |
| Toggle Inventory / Toggle Journal | It should open whichever personal screen belongs to the active player. |
| System Resume / New Game / Continue Game | It should perform that real menu operation. |
| An action list | Several shared actions should run in order. |
| Run Script / Run Visual Script | The operation needs a reusable helper, condition or custom data handling. |
The shared Run Script/Run Visual Script event can run a GDScript record as well as a visual graph. Chapter 10 supplies complete helpers and shows exactly which Buttons call them.
GUI Preview checks layout and hover/press feedback. Play checks actions, ownership, dialogue, saving and actual menu routes.
