Keyboard Shortcuts
==================

Try out these keyboard shortcuts to help save you time.

On Mac, replace ``Ctrl`` with the ``Command`` key.

General
-------

-  ``Right Click on Tile`` - Captures the tile under the mouse (drag to
   capture larger areas).
-  ``Ctrl + MouseWheel`` - Zoom in/out on tileset and map
-  ``Ctrl + Plus/Minus`` - Zoom in/out on map
-  ``Ctrl + 0`` - Reset zoom on map
-  ``Ctrl + Object Move`` - Toggles "Snap to Grid" temporarily
-  ``Ctrl + Object Resize`` - Keep aspect ratio
-  ``Alt + Object Resize`` - Toggles "Snap to Grid" temporarily
-  ``Middle Click`` or ``Space Bar`` - Hold to pan the map view
-  ``Ctrl + X`` - Cut (tiles, objects or properties)
-  ``Ctrl + C`` - Copy (tiles, objects or properties)
-  ``Ctrl + V`` - Paste (tiles, objects or properties)
-  ``Del`` - Delete (tiles or objects)
-  ``H`` - Toggle highlighting of the current layer
-  ``A`` - Invokes :doc:`automapping`
-  ``Alt + C`` - Copy current position of mouse cursor to clipboard (in
   tile coordinates)
-  ``Ctrl + D`` - Duplicate selected objects (since Tiled 1.0, before it
   was Delete)
-  ``Ctrl + Shift + D`` - Duplicate active layer
-  ``F2`` - Rename (if applicable in context)
-  ``Tab`` - Hide docks and tool bars (since Tiled 1.0)
-  ``Ctrl + PgUp`` - Select previous layer (above current layer)
-  ``Ctrl + PgDown`` - Select next layer (below current layer)
-  ``Ctrl + Shift + Up`` - Move current layer up
-  ``Ctrl + Shift + Down`` - Move current layer down
-  ``Ctrl + Shift + H`` - Show/Hide all other layers (only active layer
   visible / all layers visible)
-  ``Ctrl + Tab`` - Switch to left document
-  ``Ctrl + Shift + Tab`` - Switch to right document
-  ``Alt + Left`` - Switch to left document
-  ``Alt + Right`` - Switch to right document
-  ``Ctrl + G`` - Toggle displaying of the tile grid
-  ``Ctrl + W`` - Close current document
-  ``Ctrl + Shift + W`` - Close all documents
-  ``Ctrl + E`` - Export current document
-  ``Ctrl + Shift + E`` - Export current document to another file
-  ``Ctrl + R`` - Reload current document
-  ``Ctrl + T`` - Force-reload all tilesets used by the current map
   (mainly useful when not using the automatic reloading)

When a tile layer is selected
-----------------------------

-  ``D`` - Toggle Random Mode
-  ``B`` - Activate :ref:`stamp-tool`

   -  ``Shift + Click`` - Line mode, places tiles on a line between two
      clicked locations
   -  ``Ctrl + Shift + Click`` - Circle mode, places tiles around the
      clicked center

-  ``T`` - Activate :ref:`terrain-tool`
-  ``G`` - Activate :ref:`wang-tool` (since Tiled 1.1)
-  ``F`` - Activate :ref:`bucket-fill-tool`
-  ``P`` - Activate :ref:`shape-fill-tool`
-  ``E`` - Activate :ref:`eraser-tool`
-  ``R`` - Activate Rectangular Select
-  ``W`` - Activate Magic Wand
-  ``S`` - Activate Select Same Tile
-  ``Ctrl + 1-9`` - Store current tile selection (similar to
   ``Ctrl + C``)
-  ``1-9`` recall the previous selection (similar to ``Ctrl + V``)
-  ``Ctrl + A`` - Select the whole layer
-  ``Ctrl + Shift + A`` - Select nothing

Changing the active stamp:

-  ``X`` - Flip active stamp horizontally
-  ``Y`` - Flip active stamp vertically
-  ``Z`` - Rotate active stamp clockwise
-  ``Shift + Z`` - Rotate active stamp counterclockwise


When an object layer is selected
--------------------------------

-  ``S`` - Activate :ref:`select-objects-tool`

   -  ``PgUp`` - Raise selected objects (with Manual object drawing
      order)
   -  ``PgDown`` - Lower selected objects (with Manual object drawing
      order)
   -  ``Home`` - Move selected objects to Top (with Manual object
      drawing order)
   -  ``End`` - Move selected objects to Bottom (with Manual object
      drawing order)

-  ``O`` - Activate :ref:`edit-polygons-tool` (was ``E`` until Tiled 1.0)
-  ``R`` - Activate :ref:`insert-rectangle-tool`
-  ``I`` - Activate :ref:`insert-point-tool`
-  ``C`` - Activate :ref:`insert-ellipse-tool`
-  ``P`` - Activate :ref:`insert-polygon-tool`
-  ``L`` - Activate :ref:`insert-polyline-tool`

   -  ``Enter`` - Finish creating object
   -  ``Escape`` - Cancel creating object

-  ``T`` - Activate :ref:`insert-tile-tool`
-  ``V`` - Activate :ref:`insert-template-tool` (since Tiled 1.1)
-  ``E`` - Activate :ref:`insert-text-tool` (since Tiled 1.0)
-  ``Ctrl + A`` - Select all objects in the current object layer
-  ``Ctrl + Shift + A`` - Clear object selection

In the Properties dialog
------------------------

-  ``Del`` or ``Backspace`` - Deletes a property
