# Tile Layers

## Tools

### Tile Pencil Tool - <img src="https://raw.githubusercontent.com/Ogmo-Editor-3/ogmo-editor-3.github.io/gh-pages/img/icon-pencil.png" class="inverted down-eight" width="32"/>

**Left Mouse Down**

- Start drawing.
  + Ctrl: draw 1x1 with randomized brush.
  + Left Mouse Up: Stop drawing.

**Right Mouse Down**

- Start erasing.
  + Right Mouse Up: Stop erasing.

**Hotkeys**

- Alt: Switch to Tile Eyedropper Tool.
- Shift: Switch to Tile Rectangle Tool.

### Tile Rectangle Tool - <img src="https://raw.githubusercontent.com/Ogmo-Editor-3/ogmo-editor-3.github.io/gh-pages/img/icon-square.png" class="inverted down-eight" width="32"/>

**Left Mouse Down + Drag**

- Preview brush rectangle.
  + Left Mouse Up: Apply rectangle.
  + Ctrl: Randomize brush

**Right Mouse Down + Drag**

- Preview deletion rectangle.
  + Right Mouse Up: Delete selected tiles.

**Hotkeys**

- Alt: Switch to Tile Eyedropper Tool.
- Shift: Switch to Tile Pencil Tool.

### Tile Line Tool - <img src="https://raw.githubusercontent.com/Ogmo-Editor-3/ogmo-editor-3.github.io/gh-pages/img/icon-line.png" class="inverted down-eight" width="32"/>

**Left Mouse Down + Drag**

- Preview brush line.
  + Left Mouse Up: Apply line.
  + Ctrl: Randomize brush

**Right Mouse Down + Drag**

- Preview deletion line.
  + Right Mouse Up: Delete selected tiles.

**Hotkeys**

- Alt: Switch to Tile Eyedropper Tool.
- Shift: Switch to Tile Pencil Tool.

### Tile Fill Tool - <img src="https://raw.githubusercontent.com/Ogmo-Editor-3/ogmo-editor-3.github.io/gh-pages/img/icon-floodfill.png" class="inverted down-eight" width="32"/>

**Left Mouse Down**


**Right Mouse Down**

**Left Mouse Down**

- Fill using brush.
  + Ctrl: Fill using randomized brush.

**Right Mouse Down**

- Fill with eraser.

**Hotkeys**

- Alt: Switch to Tile Eyedropper Tool.
- Shift: Switch to Tile Pencil Tool.

### Tile Eyedropper Tool - <img src="https://raw.githubusercontent.com/Ogmo-Editor-3/ogmo-editor-3.github.io/gh-pages/img/icon-eyedropper.png" class="inverted down-eight" width="32"/>

**Left Mouse Down + Drag**

- Select tile(s) to use for a brush.
  + Left Mouse Up: Create brush from selected tiles.

**Hotkeys**

- Shift: Switch to Tile Pencil Tool.