Detecting if the user hit the space key

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

@Prynok Check for " ", a space between the 2 ".

I’m so dumb! Why didn’t I think of that. Thank you so much!