I haven't used Sc in quite a while, so I'll give some psuedo-code:
If spritex(1) < mousex() Then
spritex(1) = spritex(1) + 1
End If
If spritex(1) > mousex() Then
spritex(1) = spritex(1) - 1
End If
If spritey(1) < mousey() Then
spritey(1) = spritey(1) + 1
End If
If spritey(1) > mousey() Then
spritey(1) = spritey(1) - 1
End If
This makes it so that the sprite moves one pixel closer to where the mouse clicked every tick.
-Gan
This should do the trick;
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 IF
END TIMER
I used this in the Open Card event to test it and it worked. Note that it's a slightly modified version of Gandolf's script.