If spritex(1) < mousex() Thenspritex(1) = spritex(1) + 1End IfIf spritex(1) > mousex() Thenspritex(1) = spritex(1) - 1End IfIf spritey(1) < mousey() Thenspritey(1) = spritey(1) + 1End IfIf spritey(1) > mousey() Thenspritey(1) = spritey(1) - 1End If
ON TIMER 1 IF spritex(1) < mousex Then LET spritex(1) = spritex(1) + 1 END IF IF spritex(1) > mousex Then LET spritex(1) = spritex(1) - 1 END IF IF spritey(1) < mousey Then LET spritey(1) = spritey(1) + 1 END IF IF spritey(1) > mousey Then LET spritey(1) = spritey(1) - 1 END IFEND TIMER
Didn't work.