title: How to pause while loop until a button is pressed
body: <p>How do I pause a while loop until a button is pressed?</p>
  
  <p>I want to have a while loop which restarts everytime a button is pressed. Is this possible?</p>