Skip to main content

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

FieldValue
DisplaySet UI Visible
Categoryui
AccessUserCheat
ScopeB1Standalone
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
visibleboolyes—true to show the HUD and screen messages, false for a world-only view

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
visibleboolyesUI root visibility read back after the change; may differ from the request when a full-screen UI such as the gallery is up
screen_messagesboolyesWhether engine on-screen debug messages are now enabled; always false in shipping builds

Usage

await inzoi.cli.execute('ui.set_visible', {
visible: false,
});