Skip to content
How do I detect if an arrow key is pressed in JS?
Profile icon
JoshuaRogers6

How do I detect if an arrow key is pressed in JS? I am using HTML, and JavaScript canvas on a project and need to detect arrow keys pressed.

You are viewing a single comment. View All
Profile icon
JoshuaRogers6

Thank you!