xxxxxxxxxx
25
function setup() {
createCanvas(700, 700);
background(220);
}
function draw() {
fill(255);
textSize(30);
text('hello world', mouseX, mouseY);
}
function mouseDragged(){
fill(0);
textSize(30);
text('test', 25, 25);
fill(220);
rectMode(CENTER);
rect(mouseX, mouseY, 400,100);
}