Try using coordinates relative to the fish instead of absolute coordinates. DEF SPICHK DCHK=BGGET(2,X,Y+7,1) UCHK=BGGET(2,X,Y-7,1) LCHK=BGGET(2,X-7,Y,1) RCHK=BGGET(2,X+7,Y,1) IF DCHK==128 || UCHK==128 || LCHK==128 || RCHK==128 THEN HIT 1 END X and Y are your fish's X and Y coordinates.