Move cursor with code?

Marcus Pedersén marcus.pedersen at comhem.se
Tue Jun 6 10:14:31 UTC 2006


Hi!
How do I move the cursor with code to a specific point?
As I understand I get hold of the cursor by executing:
cursor := World activeHand , right?
After that I tried to put cursor in center of world with:
cursor position: (World center)
and tried:
cursor x: (World center x) y: (World center y)
Nothing happened?
What am I doing wrong?
Many thanks in advance!
Marcus



More information about the Squeak-dev mailing list