input namespace
Last updated 2 years ago
local state = input.is_key_down(0x1)
key_code
number
key's
Returns:
key's state
boolean
local x, y = input.get_cursor_pos()
mouse cursor x position
mouse cursor y position