# Clicking in the box toggles fullscreen on and off. def setup background(200) end def mousePressed if mouseX > 0 && mouseX < 100 && mouseY > 0 && mouseY < 100 fs = fullscreen fullscreen(!fs) end end