How do I fix my movement error in this Javascript program so it doesn't break when I press two keys at the same time?

前端 未结 0 654
广开言路
广开言路 2020-11-21 13:07

I am coding a box that moves with arrow keys. I want to program it so when I press a key on my keyboard, the intervals detect the key pressed and puts the number value into

相关标签:
回答
  • 消灭零回复
提交回复
热议问题