void setup() { size(800, 600); } void draw() { background(0); fill(250, 200); // , 200 let op transparantie waarde String s = "GA NAAR HET KASTJE" ; String ss = "GA NAAR DE MUUR" ; String sss= "Bureau CRAZY" ; textSize(42); smooth(); //textAlign(CENTER); text(sss, 120, 200); // Write "Bureau crazy" at coordinate orig(20,40) if (mousePressed == true) { fill(130, 200); // grey textSize(32); text(s, 400, 250); // Write "Ga naar het kastje" at coordinate orig(0,70) } else { fill(130, 200); // grey textSize(32); text(ss, 100, 250); // Write "Ga naar de muur" at coordinate orig(0,100) } // code written by dr Marije Kanis }