[Q][ETOYS] Constrained dragging?
Lothar Schenk
lothar.schenk at gmx.de
Thu Apr 29 16:33:49 UTC 2004
Karl Ramberg wrote:
> 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.
Gosh. It had never occured to me to open a viewer on the world, though I knew
it had a halo, too. So, here are the mouse coordinates... :)
Thank you
Lothar
More information about the Squeak-dev
mailing list
|