Skip to main content

settings.key_unbind

Overview

  • Removes the keyboard key (single key and Shift/Ctrl/Alt combos) from an editable shortcut, or from every editable shortcut on the given key, in a category. Reserved inputs are never touched. The default key does not come back until rebound or reset. Saved to the user settings.

Metadata

FieldValue
DisplayUnbind Shortcut
Categorysettings
AccessScriptCheat
ScopeB1Standalone
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
actionnameno—Action name of an editable shortcut. Either action or key is required
keystringno—Unbind every editable shortcut on this key (FKey name)
categorystringno—Shortcut category. Default: category of the current game mode

Returns

Returns a JSON object with the following fields:

FieldTypeRequiredDescription
categorystringyesCategory the shortcuts belong to
unboundarray<string>yesShortcuts whose keyboard key was removed

Usage

await inzoi.cli.execute('settings.key_unbind', {
action: '', // optional
key: '', // optional
category: '', // optional
});