Keybind.onPress

Sets the function that is executed when this key is pressed
The function has two arguments
The first argument is a number containing a bitmask of the currently held modifier keys
Shift = 1,
Ctrl = 2, Alt = 4
The second argument is this keybind itself
overload 1:
Keybind:onPress(function)
Method Property Fluent Description Representation
function accepts a function
Return Value a Keybind
a a