blocked | bool | yes | Whether anything is currently demanding or blocking user input |
primary_kind | string | yes | Top blocker: loading | coach_mark | cat_talk | popup | modal_ui | level_sequence | '' (nothing) |
primary_detail | string | yes | Identifier of the top blocker (popup id, coach mark key, UI type name). Empty when not applicable |
loading | bool | yes | Whether a loading screen is up |
cat_talk | bool | yes | Whether the cat-talk overlay is visible |
coach_mark | bool | yes | Whether an interactive coach mark is active |
level_sequence | bool | yes | Whether a cutscene (level sequence) is playing |
popup_count | int | yes | Number of opened popup widgets |
input_block_ui_type | string | yes | EB1UIType name of the modal UI blocking input, empty if none |
esc_stack_remains | bool | yes | Whether the ESC (pop) stack still has a closable widget |
pause_reasons | array<string> | yes | EB1PauseReason names currently pausing the simulation |
popups | array<object> | yes | Currently opened popups |
popups[].index | int | yes | Position in this list (informational; enumeration order, NOT z-order). To act on a specific popup, pass its popup_id to ui.click_popup_button - that command's 'index' is a BUTTON index, not a popup index |
popups[].popup_id | string | yes | Popup table row id |
popups[].desc | string | yes | Popup body text, truncated to 200 characters |
popups[].can_esc | bool | yes | Whether ESC can close this popup. If false, ui.dismiss must click a button instead |
popups[].auto_dismissable | bool | yes | Whether ui.dismiss will touch this popup. False when popup_id is empty (a popup opened directly by a handler rather than through the popup table cannot be verified as safe), when it is on the destructive deny-list (quit / leave / delete / overwrite / discard / reset matched as whole words), when no single non-dimmed cancel (Secondary) button can be identified, when every button is dimmed, or when buttons[] is empty while the popup's widget tree still contains real buttons. Handle these with ui.click_popup_button - except that last case, where the buttons are not registered with the popup base and ui.click_popup_button cannot reach them either |
popups[].buttons | array<object> | yes | Popup buttons |
popups[].buttons[].index | int | yes | Button index |
popups[].buttons[].list_key | string | yes | ButtonDetail.ListKey - prefer this over index when clicking |
popups[].buttons[].text | string | yes | Localized button label |
popups[].buttons[].dimmed | bool | yes | Whether the button is dimmed (clicking it does nothing) |