ðŸ–ąïļInput

input namespace

Functions

is_key_down

local state = input.is_key_down(0x1)

Returns:

key's state

boolean

get_cursor_pos

local x, y = input.get_cursor_pos()

Returns:

mouse cursor x position

number

mouse cursor y position

number

Last updated