Click activation and deliberate menu calls
Click activation watches the game screen for the chosen click type. It is useful for a contextual verb menu, but it needs to fit the way you already use world clicks.
Figure 26. A click-activated GUI can stop the character's current movement and open at the clicked coordinates.
| Option | What it changes |
|---|---|
| Stop Character Activity When Opened | Stops current walking/movement when this click activation opens the GUI. |
| Open at Mouse Coordinates | Places the small GUI at the clicked screen point. It is not a way to relocate a full-screen HUD. |
Matching scene-object click events can take priority, so a screen-wide opener should not be assumed to override every authored object action. Test clicks on empty floor, on an interactable object and over an existing GUI.
Use an explicit call when it is clearer#
For an ordinary Menu button, keep the menu trigger-controlled and use Show GUI. Use Hide GUI for the close/return path and Toggle GUI only when the same control should open or close it according to its current state.
Showing and hiding are different from enabling and disabling. A disabled GUI or element can remain visible. Use the matching action for the change you actually want.
