[squeakland] point towards the mouse?

Bert Freudenberg bert at freudenbergs.de
Wed Nov 11 10:51:59 EST 2009


On 11.11.2009, at 12:13, Bill Kerr wrote:

> On Wed, Nov 11, 2009 at 9:11 PM, Scott Wallace <scott.wallace at squeakland.org> wrote:
> On Nov 11, 2009, at 2:20 AM, Bill Kerr wrote:
> 
> > On Wed, Nov 11, 2009 at 8:38 PM, Scott Wallace <scott.wallace at squeakland.org> wrote:
> >> Attached below is another solution, using an invisible "sprite".
> >
> > How did you make the invisible sprite Scott?
> > I just clicked on your Sprite's show key and nothing appeared
> > Is it just an empty drawing which you keep? I haven't tried that yet
> >
> > I almost worked out that one myself after my intial post
> > But I made a visible sprite and then shrunk it - it sort of worked but because the sprite was visible once it was ticking I couldn't use the mouse to switch off the clock or anything else because the sprite got in the way
> 
> Heh, heh...  The sprite is a tiny RectangleMorph, which is:
> 
> (a)  Invisible -- color transparent, borderWidth 0.
> (b)  Locked -- so that the sprite doesn't get in the way of mouse use.
> 
> thanks
> 
> btw if you close the viewer of an invisible sprite is it possible to get it back?
> 
> I had that problem last week when a student was making a lunar lander disappear by hiding it
> then he inadvertently closed the viewer and we couldn't work out how to get it back so he lost his work


Use the "Players" tool from the supplies flap.

Instead of a transparent rectangle you also can just use a small sketch and click its "hide" tile (and e.g. make buttons to show and hide for debugging).

- Bert -


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/squeakland/attachments/20091111/2b8aed37/attachment.html


More information about the squeakland mailing list