You can click and drag a selected element to a new location in the drawing area. If multiple elements are selected, they all move when you drag one. The spatial relationships among them are preserved.
Some elements can move only horizontally or vertically by default; Revit provides visual cues about the way that a selected element can move. To remove this constraint, press and hold Shift while dragging the element.
Conversely, some elements can move in any direction by default. To constrain their movement, press and hold Shift while dragging the elements. For example, you can move a window freely in an elevation or a 3D view, but pressing Shift constrains the movement of the window so that its elevation does not change. Likewise, you can normally move walls, lines, or gridlines freely in any direction. Pressing Shift constrains their movement to directions perpendicular to the wall or line.
When you select a wall or line that has an end joined to another (unselected) wall or line, movement is constrained to a direction perpendicular to the selected wall or line to keep the joined end from extending or shrinking. Press and hold Shift to remove this constraint.