function setup() { createCanvas(400, 400); } function draw() { background(220); fill(255); if(keyIsDown(65)) { //Red fill(255,0,0); } if (keyIsDown(83)) { //Green fill(0,255,0); } if (keyIsDown(68)) {//Blue fill(0,0,255); } ellipse(200,200,100,100); print(key); }