void draw(){ } void keyPressed(){ int x = int(random(0,100)); int y = int(random(0,100)); rect(x,y, 10,10); }