Drinking aside, get item 2 of the loc of your target object on mouseEnter. Put it into a custom prop of that object. Write a mouseMove handler that sets the loc of the target to item 1 of the mouseLoc & "," & the property.
Craig -----Original Message----- From: Richmond <richmondmathew...@gmail.com> To: How to use LiveCode <use-livecode@lists.runrev.com> Sent: Sat, Jan 21, 2012 10:14 am Subject: Constrained grab I have a "blob" that contains this script: on mouseDown grab me end mouseDown so I can move the "blob" around . . . HOWEVER I want to somehow constrain the GRAB so that I can only drag the "blob" laterally. [Don't blame me; blame George Brackett . . . ] Richmond. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode