here's how i do it IF BUTTON(0)==16 THEN GOTO @LOOP 16 is for the A button. here is more buttons: 16 - A 32 - B 64 - X 128 - Y 1 - up 2 - down 4 - left 8 - right