Multiple autonomous code

Hello, I need help on coding. So I have the code for 2 autons, one on the right and one on the left. And I want one of them to run based on a click of a button on the controller before autonomous starts. I am using vexcode v5 pro. How to do this?

Look at WalshBots old autonomous selector code using VEX Code Studio - should import correctly.

Thanks, a lot, Ill look into it!

Wow this answers all my questions. Thanks!