keylayer.pop
Overview
- Deactivates an active key layer. The declaration stays and it can be pushed again. Key layers below it become effective again.
Metadata
| Field | Value |
|---|---|
| Display | Pop Mod Key Layer |
| Category | keylayer |
| Access | ScriptCheat |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | yes | — | Key layer id from keylayers.json |
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
layer | string | yes | Popped key layer id |
active | bool | yes | Always false after pop |
active_count | int | yes | Number of active key layers of all mods |
enabled | bool | yes | Player toggle state of all key layers |
Usage
await inzoi.cli.execute('keylayer.pop', {
id: '',
});