# Keyboard shortcuts

> The keyboard and mouse shortcuts on the scene, for walls, in the chat, on the participants' bars and lines, on the room's tabs and spaces and for arranging the screen.

Page: https://docs.rpgdesk.com/en/referencia/atalhos/

On a Mac, use **Cmd** where it says **Ctrl**.

## On the scene

The scene’s shortcuts work with the map focused (click it first).

### Tools

| Key   | Tool                              |
| ----- | --------------------------------- |
| **V** | Select and move                   |
| **H** | Pan the view                      |
| **R** | Ruler                             |
| **F** | Reveal fog area (game masters)    |
| **W** | Walls (game masters)              |
| **D** | Draw (whoever can draw)           |
| **E** | Erase drawings (whoever can draw) |

### The view

| Shortcut                                         | What it does                         |
| ------------------------------------------------ | ------------------------------------ |
| **Mouse wheel**                                  | zooms in and out, around the pointer |
| **+** and **−**                                  | zoom in and out                      |
| **0**                                            | fits the whole map                   |
| dragging with the **middle** or **right** button | moves the view, with any tool        |

### Tokens

| Shortcut                      | What it does                                                                                  |
| ----------------------------- | --------------------------------------------------------------------------------------------- |
| **Arrows**                    | move the selected token one cell (with token vision on, walls stop it)                        |
| **Shift + wheel**             | turns the selected token, 15° at a time                                                       |
| **Alt** + drag                | drops the token off the grid, wherever you let go                                             |
| **Double-click** the token    | opens its properties (for whoever can move it)                                                |
| **Delete** or **Backspace**   | deletes the selected token (game masters)                                                     |
| **Ctrl + C** and **Ctrl + V** | copy the selected token and paste it where the mouse is, even in another scene (game masters) |
| **Ctrl + D**                  | duplicates the selected token (game masters)                                                  |
| **Esc**                       | clears the selection                                                                          |

### Ping, undo and redo

| Shortcut                                     | What it does                                       |
| -------------------------------------------- | -------------------------------------------------- |
| **Alt + click**, or holding the button still | a ping everyone sees                               |
| **Shift + Alt + click** (game masters)       | a ping that takes everyone’s view to the spot      |
| **Ctrl + Z**                                 | undoes what you did in this scene (up to 50 steps) |
| **Ctrl + Y** or **Ctrl + Shift + Z**         | redoes                                             |

### Lining up the grid (game masters)

With **Align the grid with the map image**, the **arrows** move the image; with **Shift**, the step is 10 times bigger.

### Walls (game masters)

With the **Walls** tool:

| Shortcut                              | What it does                              |
| ------------------------------------- | ----------------------------------------- |
| **Enter** or **double-click**         | finish the line you are drawing           |
| **Backspace**                         | removes the line’s last point             |
| **Esc**                               | cancels the line, or clears the selection |
| **Shift + click** or **Shift** + drag | adds walls to the selection               |
| **Delete** or **Backspace**           | delete the selected walls                 |

## In the chat

| Shortcut                         | What it does                      |
| -------------------------------- | --------------------------------- |
| **Enter**                        | sends                             |
| **Shift + Enter**                | breaks the line                   |
| **Up** and **down arrows**       | bring back your previous messages |
| **Ctrl + V** with a copied image | sends the image                   |

## On the participants’ bars

| Shortcut                                                       | What it does                           |
| -------------------------------------------------------------- | -------------------------------------- |
| **Double-click** a bar, or **Enter** or **F2** with it focused | opens the bar editor                   |
| **Enter**                                                      | saves                                  |
| **Esc**                                                        | cancels                                |
| **Up** and **down arrows**                                     | move between the value and the maximum |

## On the participants’ lines

| Shortcut                                                        | What it does                                     |
| --------------------------------------------------------------- | ------------------------------------------------ |
| **Double-click** a line, or **Enter** or **F2** with it focused | lets you write in it, with the cursor at the end |
| **Enter**, or clicking elsewhere                                | saves                                            |
| **Esc**                                                         | cancels and keeps the text from before           |

## In the room

| Shortcut           | What it does                                                                                                                 |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| **Esc**            | puts the maximized space back in its place                                                                                   |
| double-click a tab | maximizes its space; another double-click puts it back                                                                       |
| **Ctrl + E**       | turns screen arranging on and off (see [Arranging the screen](https://docs.rpgdesk.com/en/mesa/#arranging-the-screen-ctrle)) |

### Dragging tabs and spaces

At any time, in and out of layout editing:

| Shortcut                                     | What it does                                                                           |
| -------------------------------------------- | -------------------------------------------------------------------------------------- |
| dragging a **tab**                           | takes the tab to another space’s strip, to a space’s edge or to the room’s edge        |
| dragging the **empty part of the tab strip** | takes the whole space: next to another space’s tabs, to its edge or to the room’s edge |
| **Ctrl** or **Alt** when dropping            | leaves a copy of the tab (for a whole space, of the tab in view) at the target         |
| **Esc** during a drag                        | gives up the drag                                                                      |
| **Esc**                                      | leaves layout editing                                                                  |
