input namespace
local state = input.is_key_down(0x1)
Parameter
Datatype
Description
key_code
number
key's virtual key code
Value
key's state
boolean
local x, y = input.get_cursor_pos()
mouse cursor x position
mouse cursor y position
Last updated 1 year ago