Joystick Button

We did not have that in double only once.

My button Switch is connected to digital 2 in the arduino.

already tried a buch of codes but it seemes it always reads the first if and even if we press the button in the Joystick it never reads anything else.