xxxxxxxxxx
18
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
if(mouseX>320 && mouseX<340 && mouseY>320 && mouseY<340) {
background(255);
textSize(40);
text("Congratulations! You found the hidden level.", 50, 50, 300, 400);
rect(150,300, 100,50);
textSize(15);
text("Try and click me", 160, 310, 90, 40);
}
}