#This variable is nothing working
8 messages · Page 1 of 1 (latest)
KeyPressed is locally defined within the scope of that anonymous function you wrote as the event handler.
Because you put an end) early
Move that below your input check
but my end is not working
put it how it was in this poc then add end) at the bottom