Syntax

on mouseDragged
  ...
end mouseDragged

Explanation

Whenever you click in a Stacksmith window while the browse tool is active, a mouseDown message is sent to the clicked button, field, graphic or card, to indicate that the mouse button was pressed down. If you move the mouse while the button is still held down, a mouseDragged message will be sent, to indicate that the mouse has been moved during the click. You can e.g. use this message to allow repositioning an object by dragging it.

See Also