Tools
TileForge includes 8 tools for painting, selecting, and annotating your maps.
Tools are selected from the Toolbar on the left side of the editor, or with keyboard shortcuts. The active tool determines what happens when you click or drag on the map canvas.
| Tool | Shortcut | Description |
|---|---|---|
| Pencil | B | Paint individual tiles or stamps |
| Rectangle | R | Fill rectangular areas |
| Fill | G | Flood-fill contiguous regions |
| Eraser | E | Erase tiles (paints tile 0) |
| Select | S | Rectangular selection with copy/paste/delete |
| Object | O | Create objects on object layers |
| Property Brush | P | Paint collision/occlusion/water properties |
| Terrain Brush | — | Auto-tiling with Wang tile sets |
Pencil Tool
The Pencil tool paints the currently selected tile onto the active tile layer. Click to place a single tile, or click and drag to paint continuously.
Stamp Painting
If you select multiple tiles in the tileset palette by dragging, the Pencil tool paints the entire stamp pattern in one stroke. The cursor preview shows the stamp outline as you move over the map.
Undo
Every paint stroke is recorded as a single undoable command. Press Ctrl+Z to undo.
Rectangle Tool
Click and drag to define a rectangular area. When you release the mouse button, the entire rectangle is filled with the selected tile or stamp pattern.
Stamps tile across the rectangle area, repeating the pattern if the stamp is smaller than the selection.
Fill Tool
Click on a tile to flood fill all contiguous tiles of the same type. The fill uses BFS (breadth-first search) and stops at tiles that differ from the clicked tile.
Eraser Tool
The Eraser works exactly like the Pencil tool, but paints tile ID 0 (empty/transparent). Click or drag to erase tiles from the active layer.
Select Tool
Click and drag to create a rectangular selection on the active tile layer. Once you have a selection, you can:
- Ctrl+C — Copy the selected tile data from the active layer
- Ctrl+V — Paste the copied data (enters paste/stamp mode)
- Delete — Clear the selection (fill with empty tiles)
- Escape — Cancel paste mode
When pasting, the copied tiles become a stamp that follows your cursor. Click to place the paste.
Object Tool
The Object tool creates objects on object layers. You must have an object layer selected as the active layer.
Supported object types:
- Rectangle — click and drag to define a rectangle
- Point — click to place a point object
- Polygon — click to add vertices, close the shape to finish
Objects can have custom properties set via the Properties panel — useful for marking spawn points, triggers, doors, etc.
Property Brush
The Property Brush paints boolean property arrays onto the map. When activated, a type selector appears in the toolbar letting you choose which property to paint:
- Collision — marks cells as solid/impassable
- Occlusion — marks cells that occlude (hide things behind them)
- Water — marks cells as water
Enable View > Toggle Properties to see a color overlay of all painted properties.
This is the per-cell collision approach. For per-tile collision shapes (exported as Tiled-standard objectgroup data), see Tile Collisions.
Terrain Brush
The Terrain Brush provides auto-tiling using Wang tile matching. It automatically selects the correct tile variant based on neighboring tiles, supporting 16-tile cardinal sets.
When you paint with the terrain brush, it updates both the painted tile and its neighbors to maintain correct tile transitions.