# Route Editor

Route Editor is the script that you will be using to make routes for your macros. You can either start it and use RMB (Right Mouse Button) to place and scroll wheel to select which type of waypoint you want to use, the other way is by using commands to place waypoints.

***

`/polarroutes add [etherwarp|vein|walk]` - Add a waypoint.&#x20;

`/polarroutes remove <index>` - Remove a waypoint, Index being the waypoint number.&#x20;

`/polarroutes clear` - Clear all waypoints.&#x20;

`/polarroutes list` - List all waypoints in the route.&#x20;

`/polarroutes edit <index> <etherwarp|vein|walk>` - Edit the type of waypoint.

***

If you want to import routes from old polar (V2.9.3 and prior to it) then do the command `/polarroutes legacyimport <gemstone|tunnel>`, depending on which you choose between gemstone and tunnel it'll import those routes.&#x20;

The other option is going inside the route manager, going into the respective type of macro you want to import routes too (gemstone or tunnel) then pressing the button to the left of the +, which will import old routes.

***

To open the Route Editor GUI there's 2 ways, either typing `/polarroutes` or by pressing the route icon button in the top right corner of the `/polar` GUI.&#x20;

Inside the Route Editor GUI you are given the options to go into each category, gemstone, mining, tunnel, each one corresponds to a different macro. Going Inside of a category will showcase all of your routes, pressing the + icon will create a new route for that respective macro.&#x20;

Going Inside of a route you will see all of your different waypoints. Being able to move them around in different orders, enter Route Editor right in the GUI, enable / disable rendering of the route. Rename the route as well as delete it fully. All being different buttons that you can learn about by hovering above them.

***

When starting route editor it'll say in chat which route you are editing `[Polar Client] Route Editor » Active Route: <name> (<gemstone/tunnel/mining>)`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.polarclient.lol/polar/qol/route-editor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
