Editing Objects

TrenchBroom allows you to move, rotate and flip objects. All properties of faces and entities can be changed using the inspector. Of course, you can also delete objects.

Moving Objects

You can either move objects using the cursor keys or the mouse. The and cursor keys move the selected objects left or right on the XY plane whereas the and keys move them towards or away from the camera. To move objects vertically, use the or key.

Moving Objects
Moving objects with the mouse.

To move the selected objects horizontally using the mouse, click and drag the objects with the left mouse button. To move them vertically, hold the while dragging. The movement direction is indicated with little arrow heads next to the cursor.

If grid snapping is enabled, the objects are moved by multiples of the grid size.

Rotating Objects

There are two options for rotating objects. The first is to rotate the selected brushes by 90° about the one of the axes of the coordinate system. The second is to rotate the selected objects freely using the mouse. In both cases, the center of the rotation is the center of the selected objects' bounding box. If grid snapping is enabled, the rotation center is snapped to the grid.

To rotate the selected objects by 90° clockwise about one of the axes of the coordinate system, choose one of the rotation commands from the Edit » Actions menu or hit the appropriate keyboard shortcut. The following rotation commands are available:


Objects can also be rotated freely without any restriction as to the angle or axis of the rotation. To rotate the selected objects, activate the rotate tool by choosing . You will see a rotate handle displayed approximately at the center of the bounding box of the selected objects.

Rotating Objects
Rotating objects with the mouse.

The rotate handle consists of three quarter rings, each of which lets you rotate the selected objects about either the X,Y or Z axis. To start the rotation, click and drag the left mouse button on of the rings. Note that the rotation angle is constrained to 15° increments if grid snap is enabled. Disable grid snap to rotate the selected objects without any constraints.

Flipping Objects

Flipping Objects Horizontally
Flipping objects horizontally.

The selected objects can be flipped (or mirrored) horizontally by choosing from the menu. To flip the selected objects vertically, choose from the menu.

Deleting Objects

To delete brushes or entities, select them in the 3D view and hit the key.

Using the Entity Property Editor

Each Quake entity has some properties associated with it. These properties control the appearance or the effect of an entity in the game. Each property has a key and a value. In TrenchBroom, these properties can be edited using property list in the entity inspector. The property list represents all properties of the selected entities.

Entity property editor
The property editor.

To edit the key or the value of a property, simply select it and start typing. Hit to commit the changes. To create a new property, click on the plus button next to the property list. To delete one or more properties, select them in the list and click on the minus button next to the property list. Note that you can also edit the properties of multiple selected entities at once.

For some entity properties, TrenchBroom has special support in the form of smart property editors. In the screenshot above, you see the smart property editor for spawnflags. It will show up below the property list whenever you select the spawnflags property key.

Color property editor
The color editor.

For color properties, TrenchBroom will display the smart color editor, shown in the screenshot above. You can use the sliders to adjust the RGB color values or you can click on the button below the sliders to bring up a color selection dialog. Next to the sliders, there is a list of all colors which are in use in the currently edited map. Click to select a color from the palette and to apply it to the currently selected entities.