Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Detecting if the user hit the space key

edited October 2013 in Questions Posts: 577

For some reason, I can't do

function keyboard(k)

if k == space or SPACE then

print("Space")

end end

Does anyone know how to detect the spacebar?

Thanks, Prynok

Comments

Sign In or Register to comment.