Skip to content

InputEvent

GNamimates edited this page Oct 25, 2024 · 1 revision

Class Name: GNUI.InputEvent

Properties

Type Field Description
boolean alt if Alt is pressed
string char the character of the button being pressed ie. w k
boolean ctrl if Ctrl is pressed
boolean isHandled true if teh event has been handled, internal use
GNUI.keyCode key the key code of the button
boolean shift if Shift is pressed
Event.Press.state state the state of the button 0 released, 1 pressed or 2 held
number strength the direction of the scroll wheel (only exists for key.mouse.scroll)

Clone this wiki locally