Draw it, stack it, arrange it
You draw shapes, curves and text, then stack, group, mask and arrange them into a scene.
Draw a shape
A layer is one of: text, shape, path, image, video, audio, nested comp, group, waveform, raster paint or adjustment. Shapes and paths cover most artwork.
- Press Q for the Rectangle, or O for the Ellipse. Drag on the stage. Hold Shift to keep it square or round.
- Press P for the Pen. Click for corners, drag for curves.
- Press F to draw a frame: a scene with its own size and time.
- Press T and click to type. Drag to set the text box.
The same rail holds Triangle, Polygon, Star and a Knife that slices a path where you drag across it. Press ⌘CtrlE to flatten a shape or text into a path you can edit point by point.
Group and arrange layers
- Select layers and press ⌘CtrlG.
- Press ⌘Ctrl⇧ShiftG to ungroup.
- Open the Layers panel to see the stack. The top of the list draws on top.
A group moves, scales and fades as one layer. Its position is an offset from where its members sit.
Make a button that resizes
Auto layout arranges the members of a group, so a label and its background stay aligned when the text changes.
- Select a rectangle and a text layer. Group them with ⌘CtrlG.
- Press ⇧ShiftA to add auto layout.
- In Properties, open Auto layout. Pick a Flow: Row, Column, Wrap or Grid.
- Set Gap, Padding and Align. Set the size to Hug so the box follows its contents.
- Select a member and turn on Absolute in its In layout section to place it freely, like a badge on a card corner.
Press ⇧ShiftA again to remove the layout. The members stay where they are.
Cut with masks and booleans
- Put the cutter above the layer it cuts. Select both.
- Press ⌘Ctrl⌥AltM to use the top layer as a mask. The content shows only inside it.
- For other cuts, open Combine in Properties and pick Union, Subtract, Intersect or Exclude.
- Under the mode, set each member to Content or Stencil. Use Swap roles to flip every member at once.
The result is live. Move the stencil and the cut updates. Animate the stencil to make a wipe or a reveal.
Set pivot, lock, hide, flip
- In Properties, open Pivot and pick one of the nine placements. The layer does not move. Rotation and scale now act about that point.
- Press ⌘Ctrl⇧ShiftL to lock a layer and ⌘Ctrl⇧ShiftH to hide it.
- Press ⇧ShiftH to flip horizontally and ⇧ShiftV to flip vertically.
Ask an agent
Agents build structure with layer_create, layers_list, layers_group, layers_ungroup, layers_nest, layers_restack, layer_patch, layout_set and layer_pivot. Group modes and stencils go through layer_patch.
Make a pill button with the label "Buy now". Group the pill and the label with a row layout, 18 px vertical and 32 px horizontal padding.