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
| Field | Value |
|---|---|
| Display | Close Coach Mark |
| Category | ui |
| Access | UserCheat |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| persist | bool | no | false | Also mark the coach marks as already shown (writes to config) |
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
closed_count | int | yes | How many coach marks were ended |
persisted | bool | yes | Whether any coach mark key was written to the saved config |
Usage
await inzoi.cli.execute('ui.close_coach_mark', {
persist: false, // optional
});