detect which button is pressed and use that value in switch statement?

Thanks for you quick response!

No, the intention here is that I will only use each button individually, therefor I used the momentary switches.

If required, i will update it later to exclude any errors when two buttons are pressed simultaneously by accident. So, button 1, press detected? then execute scenario 1. Button 2 press detected, execute scenario 2.

I could use some advice which operator to use. Switch seemed appropriate, but I need to take the value (representing which button is pressed) to trigger the case.