E-toys questions

Blake blake at kingdomrpg.com
Sun Mar 19 21:37:26 UTC 2006


I got nothing over at the Squeakland mailing list, so I thought I'd try  
these questions here:

1. Can I find out when and where a user clicks in a world, and distinguish  
between right and left clicks?

2. Why is it if I have a script that adjusts an object's position to  
follow the mouse (by changing its X and/or Y by one to move it closer to  
the current mouse position), I get a bobble (i.e., the graphic moves on,  
then off, the mouse cursor repeatedly) if I set the script to fire an odd  
number of times but not if I set it to even?

Thanks!




More information about the Squeak-dev mailing list