KeyBindSetting

new KeyBindSetting(String name, String description)

creates a new KeyBindSetting please check Registering a new setting for how to correctly use this.

The default value for a KeyBindSetting is always None.

Also check KeyBind for more info on how key binds works in breeze.

getValue(): KeyBind

Returns the current value of the setting.

setValue(KeyBind value): void

Sets the value of the setting.

getName(): String

Gives the name of the setting.

getDescription(): String

Returns the description of the setting.

setHidden(boolean hidden): void

Allows you to hide a setting from the menu.

setHidden() only works on settings that have been initiated by scripts in the first place!

isHidden(boolean hidden): void

Allows you to hide a setting from the menu.

Last updated