[Q][ETOYS] Constrained dragging?

Karl Ramberg karl.ramberg at chello.se
Wed Apr 28 05:02:31 UTC 2004



Lothar Schenk wrote:
> 
> How can I restrict the path of an eToy that's in the process of being dragged
> to an allowed region, or alternatively to avoid conflict with other eToys as
> obstacles?
> 
If you open a viewer on the world you can read mouse x and y and use
tests to 
limit the mouse movements.

Karl



More information about the Squeak-dev mailing list