Skip to main content

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

FieldValue
DisplayPop Mod Key Layer
Categorykeylayer
AccessScriptCheat
ScopeB1Standalone
TagsExperimental
Aliases—

Parameters

NameTypeRequiredDefaultDescription
idstringyes—Key layer id from keylayers.json

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
layerstringyesPopped key layer id
activeboolyesAlways false after pop
active_countintyesNumber of active key layers of all mods
enabledboolyesPlayer toggle state of all key layers

Usage

await inzoi.cli.execute('keylayer.pop', {
id: '',
});