例 X=64:y=64 SPSET 0,907:SPOFS 0,X,Y @LOOP B=BUTTON() IF !(B AND 15) THEN @MATI IF B AND #UP THEN DEC Y,16 IF B AND #DOWN THEN INC Y,16 IF B AND #LEFT THEN DEC X,16 IF B AND #RIGHT THEN INC X,16 SPANIM 0,"XY",-30,X,Y VSYNC @MATI IF SPCHK(0)THEN @MATI GOTO @LOOP