Click and point game with array - troubleshooting

in mousePressed() outside the class you can write

  if(fishblue1.inside(mouseX, mouseY)){
    fishblue1.hasBeenClicked = true;
    print('fish#1 clicked');
  }