xxxxxxxxxx
13
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
}
text("(" + mouseX + ", " + mouseY + ")", mouseX, mouseY);
//Also, for anyone that is used to working with degrees..you can use the function "angleMode" and specify "DEGREES" as the argument in the beginning of your code