User guide
The Draw plugin adds a drawing canvas to Mattermost. Use it to sketch an idea, or paste a screenshot and mark it up, then send the result to the channel as an image. Nothing to install on your computer and no separate app: it lives in the message box you already use.

This guide describes version 0.2.0 of the plugin.
Contents
- Open the drawing canvas
- Drawing tools
- Shapes: squares, circles and straight lines
- Add text
- Annotate a screenshot or image
- Undo, redo and start over
- Send your drawing
- Keyboard shortcuts
- Dark themes and small screens
- Troubleshooting
- For administrators: installation
Open the drawing canvas
- Go to the channel or thread where you want to share a drawing.
- Select the paperclip (attachment) button in the message box.
- Choose Draw.

The Draw window opens with an empty canvas, ready for you to draw.

Drawing tools
The toolbar at the top of the window has two rows: the tools and actions on the first, and the color and size for the selected tool on the second.

Pick a tool by selecting it in the toolbar, or press its key:
| Tool | Key | What it does |
|---|---|---|
| Pen | P | Draw freehand. A single click or tap leaves a dot. |
| Highlighter | H | A wide, translucent marker. Text underneath stays readable, which makes it ideal for highlighting parts of a screenshot. |
| Line | L | Draw a straight line. |
| Arrow | A | Draw a straight arrow, pointing to where you release. |
| Rectangle | R | Draw a rectangle or square. |
| Ellipse | O | Draw an ellipse or circle. |
| Text | T | Click where you want to type. See Add text. |
| Eraser | E | Erase parts of the drawing. The cursor shows the size of the eraser. |
The rest of the toolbar:
| Control | What it does |
|---|---|
| Fill shapes (F) | Draws rectangles and ellipses as solid shapes instead of outlines. A filled black rectangle is a quick way to hide sensitive information in a screenshot. |
| Undo / Redo | Step backwards and forwards through your changes. |
| Add image | Opens an image from your computer onto the canvas. See Annotate a screenshot or image. |
| Clear canvas | Erases everything and starts over with a blank canvas. You can undo it. |
| Color swatches | Pick one of 12 colors. The selected color has a ring around it. |
| Custom color (rainbow circle) | Opens your system color picker so you can choose any color. |
| Size | Drag the slider, or press [ and ], to set the stroke width, or the font size for text. The preview to its left shows the result. |
Your tool, color and size are remembered the next time you open the Draw window.

Shapes: squares, circles and straight lines
Hold a key while you drag a shape to change how it’s drawn:
| Hold | Rectangle | Ellipse | Line and arrow |
|---|---|---|---|
| Shift | Square | Perfect circle | Snaps to horizontal, vertical or 45° |
| Alt or Ctrl (Option on macOS) | Draws out from the center | Draws out from the center | — |
You can combine them: hold Shift and Alt to draw a circle around a point. You can also press or release the keys in the middle of a drag; the shape updates straight away.
While you drag, the shape is only a preview. Press Esc before releasing to cancel it.
Add text
- Select the Text tool (T).
- Click where the text should start, and type.
- Press Enter to place it, or click somewhere else on the canvas. Use Shift+Enter for a new line, and Esc to discard the text.
The text uses the selected color, and the size slider sets its font size. Once placed, text becomes part of the drawing: to change it, undo and type it again.
Annotate a screenshot or image
The Draw plugin is a quick way to point something out in a screenshot: circle a button, highlight a sentence, point at something with an arrow and a note.
Paste from the clipboard (version 0.2.0 or later):
- Copy an image or take a screenshot to your clipboard. For example, use PrtScn on Windows and Linux, or ⌘+Ctrl+Shift+4 on macOS, or right-click an image in your browser and choose Copy image.
- Open the Draw window.
- Press Ctrl+V (⌘+V on macOS).
Or open a file: select Add image in the toolbar and pick an image from your computer.
Then mark it up with any of the tools. In the example below, an ellipse drawn from the center (Alt) circles the button, an arrow and a text label explain why, and the highlighter marks the tagline.

A few things to know:
- On an empty canvas, the canvas takes the size of the image, so there are no white borders. Screenshots keep their original resolution (up to 2560 pixels on the longest side), so text in them stays sharp in the posted image, even though the window shows a smaller preview.
- If you’ve already drawn something, the image is placed on top of your drawing, scaled to fit inside the canvas.
- Pasting an image while the Draw window is open adds it to the canvas only. It isn’t also attached to your message.
- To swap the image for a different one, select Clear canvas and paste again.
Undo, redo and start over
- Undo reverses your last change: a stroke, shape, text, pasted image or clear. You can go back up to 20 steps. For very large images, fewer steps are kept to save memory.
- Redo brings back what you undid, as long as you haven’t drawn anything new in the meantime.
- Clear canvas removes everything and resets the canvas to its normal size. If you clear by mistake, select Undo.
Send your drawing
When you’re happy with your drawing, select Send. The drawing is posted to
the channel as a PNG image named drawing.png, just like any other image you
upload. Everyone in the channel can view it, download it and reply to it.

- Send is available once there’s something on the canvas.
- If a thread is open in the right-hand sidebar, the drawing is posted as a reply in that thread. Otherwise it’s posted to the current channel.
- The image always has a white background, so it looks the same for everyone, whatever theme they use.
- To add some text, type a follow-up message after sending, as in the example above.
To close the window without posting, select Cancel, the × button or press Esc. Your drawing is discarded when the window closes.
Keyboard shortcuts
| Action | Windows and Linux | macOS |
|---|---|---|
| Paste an image | Ctrl+V | ⌘+V |
| Pick a tool | P H L A R O T E | Same |
| Fill shapes on or off | F | F |
| Smaller / larger size | [ / ] | [ / ] |
| Square, circle, or snap a line to 45° | Hold Shift while dragging | Hold Shift while dragging |
| Draw a shape from its center | Hold Alt or Ctrl while dragging | Hold Option while dragging |
| Cancel the shape being dragged | Esc | Esc |
| Undo | Ctrl+Z | ⌘+Z |
| Redo | Ctrl+Shift+Z or Ctrl+Y | ⌘+Shift+Z |
| Close without sending | Esc | Esc |
Tool shortcuts are turned off while you’re typing text on the canvas.
Dark themes and small screens
The Draw window follows your Mattermost theme, including dark and custom themes. The canvas itself always stays white, because that’s how the image will look once it’s posted.

On narrow screens, such as a phone browser or a small window, the Draw window fills the screen and the toolbar wraps onto several rows.

The plugin adds to the Mattermost web interface, so it works in web browsers and in the Mattermost desktop app. It isn’t available in the native iOS and Android apps, which don’t run web plugins.
Troubleshooting
I don’t see Draw in the attachment menu. The plugin may not be installed or enabled on your server. Ask your system administrator. If it was just enabled, reload the page.
Pasting does nothing. Make sure the Draw window is open, and that your clipboard holds an image rather than a file: some file managers copy a link to the file instead of the image itself. In that case, use Add image instead. Pasting requires plugin version 0.2.0 or later.
I see “The drawing could not be sent”. Check your connection and select Send again. If it keeps happening, file uploads may be disabled on your server, or the image may be larger than the maximum file size your administrator allows.
I see “That image could not be loaded”. The file isn’t an image your browser can open. Try a PNG or JPEG file.
For administrators: installation
- Download the latest
com.mattermost.draw-plugin-*.tar.gzfrom the releases page. - In Mattermost, go to System Console > Plugins > Plugin Management.
- Under Upload Plugin, select Choose File, pick the downloaded file and select Upload. If uploads are disabled, see the Mattermost documentation on plugin uploads.
- Find Draw Plugin in the list of installed plugins and select Enable.
The plugin has no settings to configure. Drawings are posted as regular file attachments, so file attachments must be enabled on the server (System Console > Site Configuration > File Sharing and Downloads), and the Maximum File Size setting applies to them.