Vex Pre-autonomous

Is there a function for per autonomous so that your robot can be able to do some stuff before autonomous starts. I know there was a function for this in robotc, but I don’t see one in VCS.

Thanks in advance

See my comments in this thread.
https://vexforum.com/t/how-to-test-the-competition-switch-with-v5-competition-iscompetitionswitch/49423/1
pre autonomous is really just code that runs when main starts.

Thanks! So, I can display incoming sensor values in “pre-autonomous” if they are in the main task

Yes, in main or any other tasks you start from there.