Scale Sprite with mouse

How might I go about making a sprite scale by dragging on it with the mouse? All my attempts so far have led to unexpected scaling effects…
Has someone done this before?