Push Button Activated While Loop

I think you guys are missing the question.
I have a set of instruction that needs to run ONLY ONCE when I have a RISING EDGE on the push button input. I dont care about if the button is on or off. The TRANSITION from low to high (or high to low with pullup resistor) matters.
I already got the answer from PaulS... Thank you Paul.