Open
Description
keyboard.press
(but not keyboard
) will be unresponsive to input unless update
is defined (as anything)
will not work:
draw = function()
if keyboard.press.SPACE then
print('spacebar was pressed')
end
end
will work:
update = 0
draw = function()
if keyboard.press.SPACE then
print('spacebar was pressed')
end
end
Metadata
Metadata
Assignees
Labels
No labels