# Sketch

> The full-screen drawing page in the message composer's + menu on iPhone and iPad: draw on white paper and add the drawing to your message as a picture.

Source: https://air.build/docs/screens/chat/sketch/

> [!NOTE]
> iPhone and iPad only. The Mac app has no Sketch.

Sketch is a full-screen sheet of white paper to draw on, with the system's drawing tools. When you're done, the drawing goes into the message you're writing as a picture, for example to show an Agent a layout you have in mind.

## Open it

1. In a chat or thread, tap **+** in the [message composer](https://air.build/docs/screens/chat/message-composer/).
2. Tap **Sketch**.

The page grows out of **+** and fills the screen. The keyboard goes away while you draw and comes back when you close the page, if it was up when you tapped **+**.

## What's on it

| Item | What it shows or does | When it shows |
| --- | --- | --- |
| **Cancel** | Top-left. Closes the page. If you've drawn something, it asks first: **Discard Sketch**. | Always. |
| **Sketch** | The page's title, top center. | Always. |
| Undo, Redo | Top-right, before **Done**. Take back the last stroke, or put it back. Dimmed when there's nothing to undo or redo. On iPhone (and other narrow windows) undo and redo are in the tool picker instead. | iPad, and other wide windows. |
| **Done** | Top-right. Closes the page and adds the drawing to the message. Dimmed until you've drawn something. | Always. |
| Paper | White, the whole page below the bar. Draw with a finger or Apple Pencil. | Always. |
| Tool picker | The system's drawing tools: pens, colors, eraser, ruler and the rest. | While the page is open. |

The paper is always white, and ink colors look as they do in Light Mode, also when your device is in Dark Mode.

## Draw and add

1. Choose a tool and color in the tool picker.
2. Draw on the paper with a finger or Apple Pencil.
3. Tap **Done**.

The page closes and a chip for the drawing appears in the composer a moment later. It's a PNG named **Sketch**: the whole sheet of paper on white (grown to fit any stroke that runs off the edge), at most 2048 pixels on its longest side. It starts uploading at once, like any attachment. To change it, tap the chip and draw on it in the [Image viewer](https://air.build/docs/screens/chat/image-viewer/), or remove it and make a new sketch. See [Attachments](https://air.build/docs/screens/chat/message-composer/#attachments).

Each sketch starts on a blank page.

## On iPhone Duo

- **Half open like a laptop**: the Sketch page keeps to the flat lower half of the screen, with the chat still in sight above the fold. Folding or opening the phone while you draw only moves the page's top edge; the paper, your strokes and the tool picker stay where they are.
- **Folding shut or opening out**: the app rebuilds its layout for the new screen, and the Sketch page comes straight back with your drawing on it, so you can carry on.

## Leave without adding

Tap **Cancel**.

- Nothing drawn: the page closes.
- Something drawn: tap **Discard Sketch** to throw the drawing away and close the page. To keep drawing, tap outside the choice. On iPad the choice points at **Cancel**.

## Messages

Sketch shows no messages of its own. If the drawing can't be added, the composer shows why at its top. See [Messages](https://air.build/docs/screens/chat/message-composer/#messages) on the composer page.
