title: Clueless about how to use switch
body: <p>this is my very first post :)</p>
  <p>I'm a graphic design student in my second year and we have to make code for business cards.
  What I want is when I click with my mouse the background of the business card will change.</p>
  <p>It worked with a boolean for two pictures.
  But now I want it to work with four images.</p>
  <p>Have asked the teacher for help and she sent me information about Switch.</p>
  <p>But I have no idea where to put in my code and how to fill it in.</p>
  <p>This is my code so far</p>
  <pre><code>String Instagram=&quot;@Famoys_Saz&quot;;
  String quote = &quot;Guess my passion ;)&quot;;
  PFont font;
  PImage bg;
  PImage Snake2;
  PImage snake3;
  PImage snake4;
  boolean click = true; 
  
  
  
  void setup() {
    size(850, 550);
    font = createFont(&quot;Galaxyfaceano-4yM9.ttf&quot;, 45);
    textFont(font);
    textAlign(CENTER);
    bg = loadImage(&quot;Snake.jpg&quot;);
    Snake2= loadImage (&quot;Snake2.jpg&quot;);
    click = true;
  }
  void draw() {
    background(bg);
    if (click == true ) {
      image(bg, 0, 0);
    } else {  
      image(Snake2, 0, 0);
    }
  
    text(Instagram, mouseX, mouseY);
    text(quote, mouseY, mouseX, 05);
  }
  
  void mousePressed() {
  
    click =! click;
  }
  </code></pre>
  <p>and this is the code my teacher send me:</p>
  <pre><code>if( imageNumber == 1 ) {
   
  } else if ( imageNumber == 2 ) {
   
  } else {
  
  }
  </code></pre>
  <p>Could someone help me out? I'm quite a beginner when it comes to coding.</p>