What technique are you using to drag the sprite?
I'm just using the default Draggable behavior that comes from the library palette.
Yes, that's exactly it! Thank you so much!
I know this goes a little further beyond my question, but...
Would something like the Switch State behavior also work for toggling the Follow Sprite behavior? If someone is holding the mouse down but NOT dragging the sprite (let's say the cursor is on the other side of the stage), I want the sprite to move toward the cursor while the mouse is held down (followSprite is directed toward an invisible sprite centered on the cursor) and then restart Random Movement at that position where the mouse is released? I tried working with the code you gave me to see if I could figure something out, but the sprite still jumps around.
By the way, FollowSprite checks for mouseDown here in the code:
on prepareFrame me
if the mouseDown then