If you want to wait for a button: WHILE B != <Button code here> B=BUTTON() WEND