This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

GraphicsGroup

GraphicsGroup
represents a collection of graphics objects grouped together for purposes of interactive selection in a notebook.
  • GraphicsGroup works with both two- and three-dimensional graphics.
  • A graphics group can typically be created by applying the Group item in the Graphics menu to a collection of selected graphics.
  • With the default setting ContentSelectable->Automatic, double-clicking allows you to select an individual graphics object within the group.
  • With ContentSelectable->False, individual objects within the group cannot separately be selected, unless they are first explicitly ungrouped.
  • GraphicsGroup always defines a level in the hierarchy of a graphics expression, so that for example Ctrl+. goes to the next enclosing GraphicsGroup. »
A group of primitives to be selected together:
A group of primitives to be selected together:
In[1]:=
Click for copyable input
Out[1]=
Combine multiple primitives in groups:
Define the hierarchy within graphics:
No individual object is selectable; the graphics group appears as one object:
Allow the individual objects in the graphics group to be selectable by a single click:
The first click selects the whole group, and subsequent clicks select individual objects:
New in 6