void setup() { size(500,500); //SET YOUR SIZE HERE } void draw() { background(255); //DRAW EVERYTHING BELOW THIS LINE //DRAW EVERYTHING ABOVE THIS LINE fill(0); stroke(0); strokeWeight(1); textSize(20); text(mouseX+", "+mouseY,.05*width,.95*height); }