You can combine several objects into a group so that the objects are treated as a single unit. You can then move or transform a group of objects without affecting their attributes or relative positions. For example, you can group the objects in a logo design so that you can move and scale the logo as one unit. You can ungroup the group to get back the editing control on individual components again.
You can also edit fill and stroke properties for all objects within a group at a group level.
Groups can also be nested. They can be grouped within other objects or groups to form larger groups.
You can also group objects using the Layers panel. For more information on layers, see Work with layers.
Normally, you can select an object by simply clicking on it. When the object is part of a group, the whole group is selected when you click the object. To select an object in a group, double-click or Cmd + click / Ctrl + Click the object in the group.
Locking objects prevents you from selecting and editing them.
- On Mac, select the object and click Object > Lock. Or, right-click the object and select Lock from the context menu.
- On Windows, right-click the object and select Lock from the context menu.
When you lock an object, a lock icon appears when you select it.
You can also use the lock/unlock options in the Layers panel.
Select one or more objects. Option‑drag (Mac) or Alt-drag (Windows) the selection (but not a handle on the bounding box). On Mac, you can also click Edit > Duplicate to duplicate an object.
You can select an object or group of objects, copy them (Ctrl + C or Cmd + C), and paste them (Ctrl + V or Cmd + V) onto multiple artboards, allowing you to quickly replicate it across many artboards. When you paste them, XD intelligently places them in the same X and Y location where the original object was located. This feature is especially useful while copying headers or footers across multiple artboards.
If the artboard is selected but is not within the viewport, then XD does not paste on that artboard.