Skip to content

Class pinnacle.input.Keybind : pinnacle.input.Bind ​

A keybind.

Fields ​

key ​

key: string | pinnacle.input.Key

The key that will trigger this bind.

on_press nullable ​

on_press?: fun()

An action that is run when the keybind is pressed.

on_release nullable ​

on_release?: fun()

An action that is run when the keybind is released.

Last updated: