xxxxxxxxxx
16
function setup() {
createCanvas(300, 300);
}
function draw() {
background(171, 130, 255);
fill(0);
textAlign(CENTER);
textSize(30);
if (mouseX < width / 2) {
text("Links", mouseX, mouseY);
} else {
text("Rechts", mouseX, mouseY);
}
}