There are different variables for buttons. Up-1 Down-2 Left-4 Right-8 A-16 B-32 X-64 Y-128 L-256 R-512. For example, @BUTTON IF BUTTON()==16 THEN GOTO @A GOTO @BUTTON @A PRINT "YOU PRESSED A!"