ui_menu
Retrieves the current client UI state: open menu class, cursor visibility, and modal dialog presence. Reads local data to avoid a command round trip.
Instructions
What the client's interface is doing right now.
Free: the client half republishes the open menu's class, whether the cursor
is visible and whether a modal dialog is up on every tick, so this answer is
already on disk and costs no command round trip -- the same bargain
world_state makes with no arguments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| hint | No | ||
| error | No |