21. Choose the right event timing
A pointer Click event and a control’s completed value change are not the same moment. In this build, a general Click event can run on mouse press. A Check Box or Radio Button finishes its toggle later, when the normal button interaction completes.
| Interaction | Reliable place to read the final choice |
|---|---|
| Check or uncheck a box | A separate Apply / Continue Button after the click finishes. |
| Choose a radio option | A separate confirmation Button, or its completed Boolean variable binding. |
| Drag a slider | Read its live value from Apply, or use its changing numeric variable binding. |
| Browse a carousel | Read its current entry from a separate confirmation Button. |
In the test screen, the Hints box’s Click script saw false at the start of the press, while the finished click left its bound show_hints variable true. Both results describe different moments of the same interaction.
For a settings screen, use the simple pattern: change the controls, then press Apply. For a live setting, use the supported value binding and the game system that consumes that variable.
The typed GUI Events tab does not provide a general On Value Changed or On Toggled action slot for these controls. Do not substitute the mouse Click event and assume it is a release or drag-finished event.
Keep Clicked Image feedback temporary too. It can acknowledge a press, but it should not be used as the data record of a selected mode or checked option.
