[squeakland] point towards the mouse?

Bill Kerr billkerr at gmail.com
Wed Nov 11 01:06:36 EST 2009

1) Is it possible to get an arrow to point towards the mouse pointer in

I can get it to point towards a box which is being moved with the mouse with
this script: *arrow's heading <-- arrow's bearing to box*

In the world menu in the playfield pane there are mouse x and mouse y
detectors but arrow's bearing will not accept those detectors as input to
replace just the box part

2) I also wanted to detect a mouse click but can't see any way to do that.
The input pane in the world menu detects last keystroke but not a mouse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/squeakland/attachments/20091111/eb63c245/attachment.html

More information about the squeakland mailing list