Rectangle morph Answers
Last updated at 3:17 pm UTC on 14 January 2006
- Both the black and brown icon allow you to move the morph. If somebody knows how they differ, put the answer here. [It looks like the brown handle (Move) alters the location of the morph without changing its owner, wheras the black handle (Pick Up) temporarily assigns ownership of the morph to the active hand. This means the black handle can be used to remove a morph from a surrounding morph. Try this with a pasteUpMorph and an ellipse.]
- Both the red and gray icons open up menus. You can to the following in both:.... [The red handle is the 'halo menu' and provides higher-level user-type commands. The gray handle brings up the 'debug menu' which provides commands that expose more of the inner structure of the morph. This menu is also accesible from the halo menu's 'debug...' option.]
- Both the bright blue and gray icons allow you to look at the contents of the morph. The bright blue icon opens up a viewer and the gray icon allows you to open up an inspector. [The bright blue 'eye' handle opens an eToys 'viewer' exposing a limited but capable subset of scripting commands that can be composed graphically. The gray handle, as above, brings up the debug menu with commands that expose the morph's vocabulary in a more programmatic form.]
To create the morph using code:
RectangleMorph new openInWorld ...
back