Input#
Contains variables related to button, mouse, and keyboard input.
Access with Input->
.
Variables#
Variable descriptions#
Whether the given button (CB_
constants) is down (or βpressedβ).
Whether the given button (CB_
constants) is down (or βpressedβ).
Returns true if the respective key was just pressed this frame (similar to Press[], but for keys instead of buttons).
Returns true if the respective key is down this frame (similar to Button[], but for keys instead of buttons).
For each index (using CB_
constants to access), the keyboard key
(KEY_
constants) that is bound to that button.
Returns the modifier keys as a bitwise flagset.
Whether a given keyboard key (KEY_
constants) is disabled from having
any in-engine effect.
Whether a given button (CB_
constants) is disabled from having any
in-engine effect.
const bool[] Joypad π Source
Similar to Press, except that it only returns presses from a joystick device, not a keyboard.
Use the CB_
constants to access this array.
const bool[] ReadKey π Source
Warning
Deprecated! Use KeyPress[] instead!
Warning
Deprecated! Use Button[] instead!
Warning
Deprecated! Unsafe!