processing arrow key movement code example Example: processing right arrow key void keyPressed() { if (keyCode == DOWN) { } }