> For the complete documentation index, see [llms.txt](https://malbersanimations.gitbook.io/animal-controller/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malbersanimations.gitbook.io/animal-controller/malbers-questforge/controller-support/world-map-on-controller.md). Agents can also search and read this documentation through its [MCP server](https://malbersanimations.gitbook.io/animal-controller/~gitbook/mcp).

# World Map on Controller

Everything the World Map does with a mouse also works on a gamepad. The left stick pans, the triggers zoom, the D-pad cycles through places, and a crosshair in the middle of the map takes the place of the mouse pointer. Pointing the crosshair at an icon shows its tooltip, and A and X run the tooltip's buttons. The waypoint picker, the fast travel confirmation and the map filters are all controller-friendly too.

The **World Map Navigator** component drives this. It only uses the World Map's public API, so the mouse and keyboard map is unchanged.

***

### Bindings

Defaults are shown. All except Pan and Open Map can be rebound on the [Controls screen](broken://pages/2c62b533ab2143c845caa35d520153ce51b02697).

| Action                                     | Gamepad                | Keyboard / Mouse                                        | Command              |
| ------------------------------------------ | ---------------------- | ------------------------------------------------------- | -------------------- |
| Open the map (from gameplay)               | D-pad Up               | M                                                       | Player row `OpenMap` |
| Pan                                        | Left Stick             | W A S D, Arrow keys, or drag with the left mouse button | —                    |
| Zoom in                                    | RT                     | = (or Mouse Wheel)                                      | `MapZoomIn`          |
| Zoom out                                   | LT                     | − (or Mouse Wheel)                                      | `MapZoomOut`         |
| Previous place                             | D-pad Left             | \[                                                      | `MapCyclePrevPOI`    |
| Next place                                 | D-pad Right            | ]                                                       | `MapCycleNextPOI`    |
| Centre on the player                       | Right Stick Press (R3) | C                                                       | `MapCenterOnPlayer`  |
| Place a waypoint                           | Y                      | F                                                       | `MapPlaceWaypoint`   |
| Travel / Track / Untrack the selected icon | A                      | Enter                                                   | `MapFastTravel`      |
| Remove the selected waypoint               | X                      | E                                                       | `Interact`           |
| Open / close the map filters               | D-pad Down             | G                                                       | `MapFilterToggle`    |
| Controls                                   | Start                  | F1                                                      | `ToggleControlsMenu` |
| Close the map                              | B                      | Esc                                                     | `Cancel`             |

While the map is open, the character's gameplay buttons are switched off, so D-pad Left / Down and the triggers don't also holster, strafe or attack.

***

### Crosshair and Hover Info

While a gamepad is the active device, a crosshair shows on the map view. It marks where **Place Waypoint** drops the waypoint (mouse users place at the pointer instead).

* The crosshair stays in the centre while the view can pan. When the view reaches the edge of the map and can't pan further, the crosshair walks the rest of the way, so it can reach every part of the map at any zoom. Heading back, it returns to the centre before the view pans again.
* **Zooming** keeps the point under the crosshair under it, like zooming towards the mouse pointer.
* **Hover:** while the view moves, the icon under the crosshair (within **Reticle Hover Radius**) is selected and its tooltip opens, like the mouse hovering it. When the crosshair leaves it, the selection clears.
* **Cycling** with D-pad Left / Right selects the previous or next icon on the map, opens its tooltip and centres the view on it. The crosshair rides onto the icon. An icon picked with the D-pad stays selected until the player moves the view again.
* **Centre on the player** (R3) works the same way: the view centres on the player and the crosshair follows.

What **A** and **X** do depends on the selected icon, like its tooltip buttons:

| Selected icon                  | A                                                           | X          |
| ------------------------------ | ----------------------------------------------------------- | ---------- |
| A fast travel point            | **Travel** (opens the fast travel confirmation, if enabled) | —          |
| A player waypoint, not tracked | **Track**                                                   | **Remove** |
| A player waypoint, tracked     | **Untrack**                                                 | **Remove** |

The prompt bar shows only the prompts that apply to the selected icon.

***

### Placing and Naming Waypoints

1. Aim the crosshair and press **Y**. A waypoint is placed there and the **waypoint picker** opens with focus on **Confirm**.
2. Move with the stick or D-pad. The picker has four bands, top to bottom: the name field, the icon strip, the colour strip, and **Confirm** / **Cancel**. Left and right wrap round within the icon and colour strips.
3. To rename it, go up to the name field and press **A**. The [On-Screen Keyboard](https://malbersanimations.gitbook.io/animal-controller/malbers-questforge/controller-support/on-screen-keyboard.md) opens. Type the name and press **Start** (Done).
4. Press **A** on an icon or colour to pick it, then **A** on **Confirm**.

**B** (or **Cancel**) removes the pending waypoint and closes the picker. A gold frame shows the controller's position in the picker, and a white outline marks the icon and colour you have chosen.

***

### Fast Travel Confirmation

When the selected point offers fast travel and **Show Confirmation Dialog** is on (World Map Fast Travel component), pressing **A** opens the confirmation with focus on **Confirm**.

| Action | Gamepad | Keyboard |
| ------ | ------- | -------- |
| Travel | A       | Enter    |
| Cancel | B       | Esc      |

Focus is trapped in the dialog until it closes.

***

### Map Filters

**D-pad Down** (G) opens the filter panel over the map, with focus on the **All** preset. It has three bands, top to bottom:

1. **Presets:** **All**, **None**, **Quests**, **Explore**, **Combat**. Left and right wrap round the row.
2. **Category toggles:** a grid of point-of-interest categories.
3. **Options:** **Only tracked quests**, **Hide completed objectives**, **Limit distance**, the distance slider, and the **Close** button. The slider is only reachable while **Limit distance** is on, and left / right change its value.

Press **A** to press a preset or flip a toggle. **B** closes the panel and returns to the map.

| Preset      | Shows                                         |
| ----------- | --------------------------------------------- |
| **All**     | Every category.                               |
| **None**    | No categories.                                |
| **Quests**  | Quest objectives, quest givers and waypoints. |
| **Explore** | Locations, fast travel points and waypoints.  |
| **Combat**  | Enemies.                                      |

The minimap and compass follow the same filters unless that is turned off on them.

> 📷 **Screenshot:** The map filter panel on a gamepad, with the gold frame on a category toggle.

***

### World Map Navigator

The World Map adds the navigator to itself when play starts, so there is nothing to set up. To change its settings, add it in the editor with **Add Component → Malbers → Quest Forge → Controller → World Map Navigator** on the World Map object.

#### Inspector Properties

| Property              | Type        | Description                                                                         |
| --------------------- | ----------- | ----------------------------------------------------------------------------------- |
| **Map**               | WorldMapUI  | The world map to drive. Found on this object, its parents or children when empty.   |
| **Filter UI**         | POIFilterUI | Optional. The filter panel the filter command opens. Found in the scene when empty. |
| **Pan Speed**         | float       | Screen pixels per second at full stick. Default: 900.                               |
| **Dead Zone**         | float       | Ignore stick movement below this. Default: 0.15.                                    |
| **Cancel Closes Map** | bool        | B / Esc closes the map when no popup is open over it. Default: on.                  |

#### Gamepad Reticle

| Property                 | Type          | Description                                                                                                   |
| ------------------------ | ------------- | ------------------------------------------------------------------------------------------------------------- |
| **Show Reticle**         | bool          | Show the crosshair while a gamepad is in use. Default: on.                                                    |
| **Reticle**              | RectTransform | Optional custom crosshair, parented to the map viewport and centred. Empty builds the default crosshair.      |
| **Reticle Color**        | Color         | Colour of the default crosshair. Default: gold (R 1, G 0.85, B 0.25, A 0.95).                                 |
| **Reticle Size**         | float         | Size of the default crosshair in reference pixels. Default: 44.                                               |
| **Reticle Hover Radius** | float         | How close (reference pixels) the crosshair must be to an icon to select it and show its tooltip. Default: 30. |

The waypoint picker, World Map Fast Travel and POI Filter UI components each have a **Controller Managed** toggle (default on) that makes them a controller popup: their own screen on the stack, focus trapped inside, and B to back out.

***

### Public API

```csharp
// WorldMapControllerNavigator
Vector2 point = navigator.ReticleScreenPoint;  // where Place Waypoint drops, in screen space
bool shown = navigator.ReticleVisible;

// WorldMapUI methods the navigator calls (usable from your own input)
map.ZoomIn();
map.ZoomOut();
map.CenterOnPlayer();
IPOITarget next = map.CycleSelection(+1);      // -1 for previous
map.PlaceWaypointAtScreenPoint(screenPoint);
map.PlaceWaypointAtViewCenter();
map.FastTravelToSelected();
map.ToggleTrackSelectedWaypoint();
map.RemoveSelectedWaypoint();
bool canTravel = map.SelectionCanFastTravel;
bool isWaypoint = map.SelectionIsWaypoint;
bool tracked = map.SelectionWaypointTracked;
```

***

### Notes

* **Popups take over.** When the waypoint picker, fast travel confirmation, map filters, on-screen keyboard or Controls screen opens over the map, the navigator stops reacting until it closes. B then closes only the popup.
* **The map pauses the game.** Panning uses unscaled time, so it works while the game is paused.
* **No double panning.** The navigator reads the gamepad's left stick directly, so it never adds to the map's own W A S D panning.
* **Without the Input Router** the navigator does nothing and the map works with mouse and keyboard only.
