Board Thread:Questions and Answers/@comment-20357823-20141026193421/@comment-20357823-20141026220335

i made a program where you can MOVE the sprite but there's no animation

heres the code:

LOAD:SPU0:FILE

SPSET 0,0,0,0,0,1,16,16

SPHOME 0,7,7

PX=128:PY=96

@MAIN

B=BUTTON

IF B==1 THEN PY=PY-1

IF B==2 THEN PY=PY+1

IF B==4 THEN PX=PX-1

IF B==8 THEN PX=PX+1

SPOFS PX,PY

VSYNC 1

GOTO @MAIN

so where could SPANIM fit in to this so it animates WHILE its moving