Try this code: XSCREEN 2 DISP=0 S$="Push the A Button or Touch the screen" @MAIN TOUCH OUT TM,TX,TY BTN=BUTTON(2) IF BTN==#A OR TM==1 THEN WAIT 10:GCLS:DISP=!DISP ENDIF DISPLAY DISP GPUTCHR 0,119,S$ GOTO @MAIN