TOGGLEKEY(<bind>)

Category
Input
Added in
v0.5
Permission
mod.macros.script.input.togglekey

Toggles the pressed state of the specified key binding, only works with pressable bindings

Can be one of the following values:

Can also be a key code value between 0 and 255

See also

Changelog