### 4.3. 移动

The Move Tool is used to move layers, selections, paths or guides. It works also on texts.

#### 4.3.1. Activating the Tool

There are different possibilities to activate the tool:

- From the main menu: Tools → Transform Tools → Move.

- By clicking the tool icon in the Toolbox.

- By pressing the M keyboard shortcut.

- The Move tool is automatically activated when you create a guide.

  | 注意
  If the function of the Space bar is set to Activate the Move tool (which is not the default, but can be changed in your Preferences, see below), then holding down the Space bar temporarily changes the active tool to Move. The Move tool remains active as long as the space bar is held down. The original tool is reactivated after releasing the space bar. To enable this behavior you have to change the setting called While space bar is pressed to Switch to Move tool. This setting can be changed in the Preferences dialog: Edit → Preferences → Image Windows → Space Bar.

#### 4.3.2. 选项

图 14.98. Tool Options Dialog

Normally, tool options are displayed in a window attached under the Toolbox as soon as you activate a tool. If they are not, you can access them from the main menu through Windows → Dockable Windows → Tool Options which opens the option window of the selected tool. The available tool options can also be accessed by double clicking the corresponding tool icon in the Toolbox.

移动

  | 注意
  These options are described in Transform tools common options.

  Keep in mind that your Move choice persists after quitting the tool.

Tool toggle (Shift)

  If Move is on “Layer”

  拾取图层或参考线

    On an image with several layers, the mouse pointer turns to a crosshair when it goes over an element belonging to the current layer. Then you can click-and-drag it. If the mouse pointer has a small hand shape (showing that you do not pick an element of the active layer), you will move a non-active layer instead (it becomes the active layer while moving).

    If a guide exists on your image, it will turn to red when the mouse pointer goes over. Then it is activated and you can move it.

    At the point of intersection of two guides, you can click-and-drag to move them together. This is useful when the guides are used to mark a point, rather than a pair of lines (e.g, as is the case for the mandala symmetry guides, which mark the symmetry point of origin).

  Move the selected layers

    Only the selected layers will be moved (if smaller than canvas). This may be useful if you want to move layers with transparent areas, where you can easily pick the wrong layer through these transparent areas.

    | 注意
    You also can move the selected layers by setting its offset in the Edit Layer Attributes dialog.

  If Move is on “Selection”

  The selection's outline will be moved (see 第 2.1 节 “Moving or Resizing a Selection”).

  If Move is on “Path”

  拾取路径

    That's the default option. The mouse pointer turns to a small hand when it goes over a visible path. Then you can move this path by click-and-dragging it (it will be the active path while moving).

  移动活动路径

    Only the current path will be moved. You can change the current path in the Paths Dialog.

#### 4.3.3. Summary of Move tool actions

Moving a selection

  The Move tool allows to move the selection outline only. If the Move Mode is “Layer”, you must hold down Ctrl+Alt keys.

  If the Move Mode is Selection, you can click-and-drag any point in canvas to move the selection outline. You can also use the arrow keys to move selections precisely. Then, holding down the Shift key moves then by increments of 25 pixels.

  When you move a selection with the Move tool, the center of the selection is marked with a small cross. This cross and selection boundaries snap to guides or grid if the View → Snap to Guides (or Grid) option is checked: this makes aligning selections easier.

  See Moving selections for other possibilities.

Moving a layer

  The Move Mode must be “Layer”. Then you can choose between Move the selected layers and, if you have one or more layers, Point to Layer (or Guide).

Moving Grouped Layers

  If layers are grouped they will all move, regardless of which layer is currently active.

Moving a guide

  When you pull a guide from a ruler, the Move tool is automatically activated. That's not the case after using another tool, and you have to activate it by yourself. When the mouse pointer goes over a guide, this guide turns to red and you can click-and-drag to move it.

Moving a path

  The Path Tool dialog has its own moving function: see 第 5.2 节 “Paths”. But you can also use the Move Tool. The Move Mode must be set to “Path”. Note that the path becomes invisible; make it visible in the Paths dialog. You can choose the path to be moved or move the active path.

Moving a text

  Every text has its own layer and can be moved as layers. See 第 5.3 节 “Text”.

4.2. Align and Distribute |  | 4.4. 剪裁

Report a bug in GIMP Report a documentation error