Green Fern

Tools

Processing

Coordinate Cursor

push();

  color c = 45;

  //dot
  stroke(c);
  strokeWeight(4);
  point(mouseX, mouseY);

  // text part
  fill(c);
  textSize(20);
  text("X: " + mouseX + " Y: " + mouseY, mouseX + 12, mouseY + 6);
      
pop();