You should use a variable to hold the current sprite's speed. Then, when the mouse is clicked (or whatever else happens), you can just increase or decrease that variable. If the movement routine is using this variable, the sprite will speed up/slow down accordingly.
Offline