X=200:Y=120 SPSET 0,500 WHILE 1 B=BUTTON() IF (B AND 1)==1 THEN Y=Y-1 IF (B AND 2)==2 THEN Y=Y+1 IF (B AND 4)==4 THEN X=X-1 IF (B AND 8)==8 THEN X=X+1 SPOFS 0,X,Y VSYNC WEND