Board Thread:General Discussion/@comment-23.114.165.35-20161216053425/@comment-30071443-20161218193957

I think you know how to do it with one sprite. With two sprites, instead to use "IF BUTTON== 1 THEN...", use IF BUTTON AND 1 THEN..."

SPSET 1,... SPSET 2,... @MOVE IF BUTTON AND 1 THEN Y1=Y1-1 IF BUTTON AND 2 THEN Y1=Y1+1 IF BUTTON AND 4 THEN X1=X1-1 IF BUTTON AND 8 THEN X1=X1+1 IF BUTTON AND 16 THEN X2=X2+1 IF BUTTON AND 32 THEN Y2=Y2+1 IF BUTTON AND 64 THEN Y2=Y2-1 IF BUTTON AND 128 THEN X2=X2-1 SPOFS 1,X1,Y1:SPOFS 2,X2,Y2 VSYNC 1 GOTO @MOVE

I think it works, i don't test it.