Void setup() Function wait

Hello! I have a pretty simple question can you pause the arduino during setup function until a certain thing happens? Say for example
I don’t want it to go into Void loop() until I have pushed a button.
Is that doable?

Yes. Pseudo-code:

while (button not pressed) { /* do nothing */; }

There are better ways to achieve what you want, though.

aha Thanks! That makes sense!!