Skip to content

Group, align and space layers precisely

Select several layers, group them, align and space them, type exact numbers, and use smart guides, rulers, guides and snapping to place things exactly.

Intermediate7 min readUpdated 28 September 2026Editor · Align

On this page

Good layouts depend on things lining up. This article shows you how to select several layers at once, keep related layers together in groups, align and space them evenly, and use snapping and guides so edges meet exactly where you intend.

Shortcuts below use Ctrl. On a Mac, press Cmd instead.

Select several layers

  • On the canvas with the Move tool (V): Shift-click each layer, or drag a box across empty canvas to pick every layer it touches.
  • In the Layers panel: Shift-click to select a range, Ctrl-click to add or remove one.
  • A box dragged across the canvas picks whole groups, as a click does.
  • Ctrl+A with the Move, Text or Shape tool selects every layer. With a selection tool it selects every pixel, as before. Ctrl+Alt+A selects every layer with any tool.
  • Select, Same picks every layer with the same fill colour, stroke, font, kind or layer style as the one you have selected.

Drag any selected layer and the rest come with it. With two or more selected, a box with four corner handles appears around them all: drag a corner to scale the whole selection together. Text sizes, shape outlines and rounded corners scale with it, so the set keeps its proportions. Drag the round handle above the box to rotate them all around their shared centre; hold Shift for 15 degree steps.

Right-click on the canvas for a menu of what you can do with the selection. Right-clicking a layer that is not selected selects it first.

Groups

A group keeps layers that belong together, such as a logo lock-up or a price badge, as one unit you can move, hide, fade or lock.

  1. Select the layers you want to group.
  2. Press Ctrl+G, or click New group at the bottom of the Layers panel, or choose Layer, Group layers. Properties also offers Group these layers when several are selected.
  3. Double-click the group name in the Layers panel to rename it.
  • Click a group header to select everything in it. The arrow on the header collapses or expands the group.
  • The group's eye hides the whole group, and its padlock locks every layer inside.
  • Groups can hold other groups. Grouping layers that already fill a group moves that group inside the new one, so nesting is kept.
  • Select a layer inside a group and the panel header shows the group's own blend mode and opacity. A group starts on Pass through, meaning its layers blend with the design as if they were not grouped.
  • Ungroup with Ctrl+Shift+G, Layer, Ungroup, or the Ungroup button in Properties. The layers stay where they are.
  • With a layer inside a group selected, Escape selects the whole group, and Escape again selects nothing. With a whole group selected, Enter goes back in to its top layer.

Edit a group on its own

Right-click a layer in a group and choose Edit the group on its own, or use Layer, Edit group on its own. Everything outside the group is dimmed and cannot be picked, and a click picks single layers inside the group, so you can rearrange a busy lock-up without disturbing the rest. Click Done at the top of the canvas, or press Escape, to go back.

On the canvas a group behaves as one object. A click on any of its layers picks the whole group, so dragging moves it all. Double-click to go inside: the next level down is picked, and once you are inside, a click picks the layers and groups around it at that level. Click empty canvas to come back out, or press Escape to go up one level.

Link layers (Layer menu, or the chain button in the Layers panel) is a lighter option: linked layers move together but stay where they are in the stack.

Align and distribute

With the Move tool, the options bar has six align buttons: left, centres, right, tops, middles and bottoms. The same buttons are in the Properties panel and in Layer, Align.

  • One layer selected: it aligns to the page. Aligning centres and then middles puts it dead centre. (The floating action bar's More menu has Centre on page for exactly this.)
  • One layer on a board: it aligns to its board.
  • Several layers selected: they align to each other, using the box around all of them. A whole group counts as one object and keeps its own layout.
  • Line up to one of them: with several selected, click one of them again (without dragging). It gets a heavier outline and becomes the key object: the others move to it and it stays where it is. Click it again to go back to the box around them all.
  • Distribute horizontally and Distribute vertically need three or more layers. The two outer layers stay put and the ones between are moved so the gaps are equal. To set the gap yourself, type it into Space (↔ across, ↕ down) in Properties; this works for two layers or more.

Exact numbers

Select one layer and open Position in Properties for X, Y, W, H and the rotation in degrees. X and Y are measured from the top left of the layer's board, or of the page when there are no boards. With several layers selected, X and Y move them all together.

  • Type a number, or a little maths: +10 or -=10 to add or take away, x2 or /2 to multiply or divide, 50% for half of the current value, or a sum such as 1080/3. Press Enter to apply it, or Escape to put the old value back.
  • Up and down arrows change the value by 1, or 10 with Shift. Drag the letter beside a field sideways to scrub it.
  • The chain button beside rotation makes width and height change together.
  • The small grid of nine dots beside it sets the point the layer turns around, for the rotation field and the round handle: its centre, a corner or the middle of an edge. A small target on the canvas shows the point when it is not the centre.
  • With several layers selected, Properties also sets their opacity and blend mode together, the fill and outline when they are all shapes, and the font, size and colour when they are all text. A setting that differs between them shows Mixed until you set it.

Smart guides and snapping

As you drag a layer, it snaps to the edges and centre of its board (the page when there are no boards), to your guides, and to the edges and centres of other layers on that board. A line shows what it snapped to. Between two neighbours it settles where the space on both sides is the same. Distances to the nearest neighbouring layers are shown in pixels while you drag, which makes even spacing easy to judge by eye. Dragging a resize handle snaps the edge you are moving in the same way.

Ctrl (while dragging)
Move or resize freely without snapping (Cmd on a Mac)
Alt (while dragging a layer)
Drag a copy and leave the original where it was
Alt (while dragging a handle)
Resize from the centre
Shift (while dragging)
Move in a straight line, horizontally or vertically
Shift (while rotating)
Rotate in 15 degree steps
Arrow keys
Nudge by 1 pixel
Shift+arrow keys
Nudge by 10 pixels
Ctrl+Shift+;
Turn snapping on or off

Presses of the arrow keys in quick succession make one undo step. To nudge by a different amount, change Arrow keys move by and Shift and arrow keys move by in Edit, Preferences.

Snapping checks the last 60 layers on the board for edges, which keeps it quick in big designs. Distances can be switched off under Move settings.

Rulers and guides

  1. Press Ctrl+R (View, Rulers) to show the rulers.
  2. Drag from the top ruler to make a horizontal guide, or from the left ruler for a vertical one.
  3. To move a guide, drag it with the Move tool. If a layer is under the guide, hold Ctrl as you press.
  4. To delete a guide, drag it back onto its ruler.

For a grid, choose View, Guides, New guide layout…. Set Columns, Rows, Margin (px) and Gutter (px), or start from a preset: 12 column web, Thirds, 2 columns print or Safe margins. New guide… places a single guide at an exact position, and Clear guides removes them all.

Ctrl+R
Rulers
Ctrl+;
Show or hide guides
Ctrl+Alt+;
Lock guides, so they cannot be dragged by accident

At 800% zoom and above a pixel grid appears, useful for icons and small graphics. Turn it off with View, Pixel grid. Guides are saved with the design.

Common problems

  • A layer will not move or align. It is probably locked. Look for a padlock on its row in the Layers panel.
  • Things jump when I drag. That is snapping. Hold Ctrl (Cmd on a Mac) while dragging, or turn off View, Snap.
  • Dragging made a copy. Alt was held down. Undo removes the copy.
  • Distribute is greyed out. It needs at least three layers selected. For two, type the gap into Space in Properties.
  • Align moved my layer to the page edge, not the other layer. With one layer selected, alignment is to the page or its board. Select both layers first.
  • Align moved the wrong layer. One of them is the key object, shown with a heavier outline. Click it again to stop lining up to it.
Was this guide useful?