void setup() { size(800,600); //SET YOUR SIZE HERE } void draw() { background(255); //DRAW EVERYTHING BELOW THIS LINE fill(#ff0000); rect(0,0,400,600); fill(0); ellipse(300,200,40,40); rect(200,500,200,80); pushMatrix(); translate(400,0); fill(#0000ff); rect(0,0,400,600); fill(0); ellipse(100,200,40,40); rect(0,500,200,80); popMatrix(); //DRAW EVERYTHING ABOVE THIS LINE fill(0); stroke(0); strokeWeight(1); textSize(20); text(mouseX+", "+mouseY,.05*width,.95*height); }