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 
Keybind.onPress(function: Function): Keybind | Method Property | Fluent Description | Representation |
|---|---|---|
| function accepts | typings.1445582840||
| Return Value | typings.849613564
Sets the function that is executed when this key is released
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 
Keybind.onRelease(function: Function): Keybind | Method Property | Fluent Description | Representation |
|---|---|---|
| function accepts | typings.1445582840||
| Return Value | typings.849613564
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 
Keybind.setOnPress(function: Function): Keybind | Method Property | Fluent Description | Representation |
|---|---|---|
| function accepts | typings.1445582840||
| Return Value | typings.849613564
Sets the function that is executed when this key is released
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 
Keybind.setOnRelease(function: Function): Keybind | Method Property | Fluent Description | Representation |
|---|---|---|
| function accepts | typings.1445582840||
| Return Value | typings.849613564
A function that runs when the key is pressed down
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
If the return value is true then all vanilla keybinds using same key will be ignored 
Keybind.press: Function | Method Property | Fluent Description | Representation |
|---|---|---|
| Field Type | typings.1445582840
A function that runs when the key is released
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
If the return value is true then all vanilla keybinds using same key will be ignored 
Keybind.release: Function | Method Property | Fluent Description | Representation |
|---|---|---|
| Field Type | typings.1445582840
listFiles
action_wheel
Action
BlockRaycastTypes