//========================================================================
// Setup the hotspaots
if(mask != null){ // if we have a mask use it for the hot spot
hotspots = new HotSpot[]{
new HSmask(1, mask)
};
}
else { // no mask then use alpha channel of the OFF image
hotspots = new HotSpot[]{
new HSalpha(1, 0, 0, bimage[0], PApplet.CORNER)