fist pin to go high?

I'm going to be using the Leonardo board and am wondering if it's possible to find the first digital pin that goes high? Basically I will have switches set up on 4 digital pins, I want to find the first to go high and stop checking until needed again.... is this possible?

Basically I will have switches set up on 4 digital pins, I want to find the first to go high and stop checking until needed again.... is this possible?

Depends what else you are doing after you find the "fist" pin to go HIGH, and how you define "until needed again".

Polling may be sufficient or pin change interrupts may be needed. The interrupt will first when any monitored pin changes. It's then up to you to determine which pin triggered the interrupt.

If you need better resolution, the Mega with 5 external interrupts is a better choice.

The UNO with ALL pins able to generate an interrupt (PCINTX) is also a good choice. Read the Atmel datasheet, not arduino documentation which is not complete.