Hi. I'm fairly new to processing and I was wondering how to make a simple circle move diagonally. I can make it move up, down, right, and to the left, but not in a diagonal direction (ie. diagonally down and to the right).
I tried using an if statement and setting it to, for example, if (keyCode == DOWN && keyCode == RIGHT){ cX+=; cY+=2;}, but have had no success.