Skip to main content

ui.close_coach_mark

Overview

  • Ends every active coach mark overlay in the current world. With persist=true the coach mark keys are also recorded in the saved config so they will not be shown again on this machine. Fails when there is no world.

Metadata

FieldValue
DisplayClose Coach Mark
Categoryui
AccessUserCheat
ScopeB1Standalone
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
persistboolnofalseAlso mark the coach marks as already shown (writes to config)

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
closed_countintyesHow many coach marks were ended
persistedboolyesWhether any coach mark key was written to the saved config

Usage

await inzoi.cli.execute('ui.close_coach_mark', {
persist: false, // optional
});