Work with Layers, Frames, shapes, and vectors
Select and arrange Layers, draw shapes and freehand strokes, connect Layers with arrows, erase, and edit vector paths in a Design file.
Every visible object is a Layer. The Layers panel lists them front to back, the way they stack on the canvas: the top row is drawn on top. Select a row or an object on the canvas. Shift-click adds to or removes from the selection. Drag an empty area, or a Frame's background, for a selection box. Right-click a Layer on the canvas or in the list for commands such as Cut, Copy, Duplicate, Bring to front, Group, Hide and Lock.
The eye and padlock at the end of each row hide or lock the Layer. A hidden Layer does not appear in Prototypes or exports. A locked Layer, and everything inside it, cannot be selected or moved on the canvas; select it in the list to change it in the Inspector, or unlock it there.
Drag the grip at the start of a Layer row to reorder it or move it into another Frame, Group, Component, or Boolean group. The selected row also shows buttons for the same moves without dragging: Bring forward, Send backward, Move into the Layer above, and Move out of its parent. Reparenting keeps the Layer in the same visible canvas position unless its new parent uses Auto Layout.
A Frame is a sized container with its own fill and optional Auto Layout rules. New Frames clip their contents; turn off Clip content to the Frame under Position and size to let children show outside it. A Group is a transform and selection container without its own visible shape. Cmd/Ctrl+G groups the selected Layers inside the parent they share; Shift+Cmd/Ctrl+G ungroups them.
Shapes and Lines
The shape button, after Frame in the toolbar, draws the shape chosen last and shows its name: Rectangle until you choose another. Choose a shape, the button beside it, opens the menu of shapes: Rectangle (R), Ellipse (O), Line (L), Triangle, Diamond, Polygon, Star and Arrow shape. Drag on the canvas to draw the shape; the canvas shows it before you let go, and a click without a drag adds one at a default size. Hold Shift while dragging for equal sides, or, for a Line, to turn it in 45° steps. Hold Shift while resizing from a corner to keep the proportions. Once a shape is drawn, the new Layer is selected and the Select tool is chosen again.
Select a Polygon to change its number of Sides, or a Star to change its Points and Inner radius, which places the inner points at a percentage of the outer radius. A Triangle or a Diamond is a Polygon too. The outline is redrawn in the same box. An Arrow shape is a closed Vector, so its points can be edited like those of any other path.
Double-click a Rectangle, Ellipse, Polygon, Star, Arrow shape or closed Pen shape to type a label in it. The label is centred in the shape and wraps inside it, in black or white, whichever reads against the fill, or in the stroke colour when the shape has no fill. Press Enter to save it, Shift+Enter for a new line, or Escape to keep the label it had; an empty label removes it. The label moves, resizes and rotates with its shape. To change it in the Inspector, select the shape and use Text under Label. On a closed Pen shape, a double-click on its edge still adds a point there.
Drawing and erasing
Choose Draw (D) and drag to draw freehand. The stroke is smoothed, and it is thicker or thinner along its length: with a stylus, from how hard you press; with a mouse or a finger, from how fast you draw. Shift-click to draw a straight line from the end of the last stroke. Draw stays chosen after each stroke, and the new stroke is not selected. Once a stylus has been used on the canvas, a finger pans the canvas instead of drawing while Draw is chosen. Set the colour and the size (S, M, L or XL) of the next stroke in the Inspector before you draw, or select a drawing to change its own (see Set fills, strokes, corners, and shadows in Design). Each stroke is a Vector named Drawing, so its points can be edited like those of any other path.
Choose Eraser (E) and drag across what you want to remove. It removes drawings, Lines, arrows and Pen paths that do not close into a shape. They fade while you drag; let go to remove them, or press Escape to keep them. The message that appears offers Undo. The Eraser leaves shapes alone, such as Rectangles, Ellipses, Polygons, Stars, Arrow shapes and closed Pen shapes, and also text, images, Frames, Groups, Components and Instances. It also skips locked and hidden Layers and anything inside a Component or an Instance.
Arrows
Choose Arrow (A) and drag from one Layer to another. Each end attaches to the Layer under it, which is outlined while you drag. Over a top-level Frame where no Layer inside it is under the pointer, the end attaches to the Frame, so an arrow can join two screens. An arrow between a Layer and a Frame or Group that contains it attaches only to the inner Layer. Hold Cmd/Ctrl while dragging to leave both ends free, and Shift to turn a free arrow in 45° steps.
An attached end follows its Layer when the Layer moves, resizes or rotates. Moving an arrow on its own lets go of both its ends where they are, and deleting a Layer lets go of the end that was attached to it. Select a Line or an arrow to show a handle at each end: drag a handle onto a Layer to attach that end there, or onto empty canvas to leave it free.
A selected Line or arrow also has a handle in its middle. Drag it to bend the Line into a curve, for example around a shape in the way; drag it back onto the straight line to straighten it. The arrowhead points along the curve, and an attached end leaves its Layer towards the curve, so bending an attached arrow can move its ends along the Layers' edges.
Double-click a Line or an arrow to give it a label, which is drawn at its middle in its colour. Press Enter to save the label, or Escape to keep the one it had; an empty label removes it.
For a selected Line or arrow, the Line section of the Inspector has Arrowheads (None, End, Start or Both ends), Bend, which is how far the middle of the curve is from the straight line (0 is straight), Starts at and Ends at, which name the Layer each end is attached to or say Not attached, and Label. Its colour and width are under Stroke. An arrow is a Line with an arrowhead, so any Line can be given arrowheads, attached ends and a bend.
Pen paths and vector points
With the Pen tool (P), click to place a corner point or drag while placing a point to create a curve. Click the first point to close the path; double-click or press Enter to finish an open path. Press Escape to leave the Pen tool; an unfinished one-point path is removed. Select a vector to show its anchors and curve handles, then drag either to edit the path. Double-click a path edge to add an anchor at that position.
Click an anchor to make it the active point. The Vector path section in the Inspector can change it to Corner, Smooth, or Mirrored. Smooth keeps the handles in one line while allowing different lengths. Mirrored keeps the handles in one line and at the same length. Remove handles makes the active point straight. Delete point or the Delete key removes it. A path keeps at least two points. The same section can open or close the active contour and reverse its direction.
Select a Rectangle, Ellipse, Polygon, Star, Line, or Vector with no child Layers to use Convert to Vector. Select several compatible Layers to use Flatten to one Vector. Flattening creates one editable Vector at the Page root, preserves the visible positions as separate contours, and uses the front Layer's fills, strokes, and opacity. It replaces the source Layers and can be undone. Boolean groups remain editable groups and cannot be flattened.
Select two or more Layers to see Combine in the Inspector. Union accepts two or more Layers. Subtract, Intersect, Exclude overlap, and Use as mask use exactly two; the lower Layer is the base shape or mask. The result remains a group, so its source Layers can still be selected and edited.
Text and images
Double-click text, or select it and press Enter, to edit it on the canvas. See Edit text and change fonts in Design for adding text, formatting, fonts and wrapping, and Set fills, strokes, corners, and shadows in Design for colour, borders and shadows. Use Image or Shift+Cmd/Ctrl+K to pick from Magpie media, upload, paste, or drop images; several can be chosen at once and are placed side by side. A new image goes in the visible part of the canvas, beside the top-level Layers already in view without covering them, or at the top left of an empty view. It is sized to fit the view and made smaller if that lets it fit beside what is there; when nothing fits, it goes in the middle of the view. Pasted Layers whose originals are out of view are placed the same way.
If an imported vector or image is not represented correctly, Contact support.
Ask Magpie support
Send Magpie staff a question about anything this article does not answer.