@Christofer *cough* *cough* Java is spelled with a capital J Your code is almost correct, but typing IF BUTTON() AND #A THEN allows for multiple buttons to be pressed at once, because #A is a bitwise mask for 0b10000 (16) its a trick commonly used in Java to store up to 31 boolean values in a single number SmileBASIC is a fantastic language, that combines all sorts of programming tricks into a one