Where is the mouse?

Are you guessing where to place objects in a sketch?

Let’s make it easier.

Let’s write some code.

void setup() {
size(400,400);
}

void draw() {
println("X: " + mouseX);
println("Y: " + mouseY);

}