ui.set_visible
Overview
- Shows or hides the whole game HUD together with the engine on-screen debug messages, leaving only the world rendered. Unlike the B1ToggleUI cheat this is a deterministic setter, so it is safe to call from scripts and automation. On-screen messages are only affected outside shipping builds.
Metadata
| Field | Value |
|---|---|
| Display | Set UI Visible |
| Category | ui |
| Access | UserCheat |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| visible | bool | yes | — | true to show the HUD and screen messages, false for a world-only view |
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
visible | bool | yes | UI root visibility read back after the change; may differ from the request when a full-screen UI such as the gallery is up |
screen_messages | bool | yes | Whether engine on-screen debug messages are now enabled; always false in shipping builds |
Usage
await inzoi.cli.execute('ui.set_visible', {
visible: false,
});