> For the complete documentation index, see [llms.txt](https://docs.candy-smith.com/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.candy-smith.com/main/rotate-the-rings-puzzle-kit/level-editor.md). Agents can also search and read this documentation through its [MCP server](https://docs.candy-smith.com/main/~gitbook/mcp).

# Level Editor

Create, edit, and playtest Rotate the Rings puzzles in Unity.

The Level Designer lets you build, edit, and playtest ring-rotation puzzles in Unity.

### Open the Level Designer

Go to **Window → RotateTheRingsPuzzleKit → Editor → Level editor**, or press **C**. Use the toolbar to open a level, the center canvas to arrange pieces, and the **Inspector** to edit the selected object. The **Shape Palette** is along the bottom.

![Level 10 in the Level Designer, with the toolbar, canvas, Inspector, and Shape Palette](https://4125573155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fu3lkP6cL7b21HTtKpWtN%2Fuploads%2FSlnyEeq6JdSoV2uuMFjP%2Flevel-designer-overview.png?alt=media)

### Level controls

| Control                                          | What it does                                                                                                                            |
| ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
| **Level**                                        | Enter a saved level number. Use the arrows to open the previous, next, or last numbered level.                                          |
| **+** and **−** next to the level number         | Create a numbered level or move the current level file to the Trash.                                                                    |
| **Play**                                         | Save pending changes and launch the current puzzle in Unity’s Game view.                                                                |
| **Save**                                         | Save the current layout. Numbered levels are stored as JSON under `Assets/RotateTheRingsPuzzleKit/Resources/LevelDesignRuntime/Levels`. |
| **Clear**                                        | Remove the pieces and connections from the current layout.                                                                              |
| **Shared Thickness**                             | Set the thickness used by the rings and sticks in this level.                                                                           |
| **Snap to grid**                                 | Align placements to the grid.                                                                                                           |
| **Actual Size**, **−**, **+** next to the canvas | Switch between the fitted and actual-size view, or adjust the zoom.                                                                     |

### Shape Palette

| Tool            | How to use it                                                                                                                                                                         |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Select (V)**  | Click a piece to edit it in the Inspector, or drag an empty area to select several pieces.                                                                                            |
| **Ring (R)**    | Click the canvas to place a ring. Use the Inspector to set its color, position, outer radius, rotation, start angle, and sweep angle.                                                 |
| **Link (L)**    | Click the owner first, then the piece it holds. Click the intended attachment point when linking to a stick. The diamond marks the owner and the arrow points to the connected piece. |
| **Blocker (B)** | Click a ring, then click a free endpoint to place a blocker. Switch to Select to edit its endpoints.                                                                                  |
| **Stick (S)**   | Click to start drawing and place points along the stick. Double-click or press **Enter** to finish. Press **Esc** to cancel drawing.                                                  |
| **Holder (H)**  | Click a stick to add a fixed holder that the stick can slide out of.                                                                                                                  |
| **Star (W)**    | Click a ring or stick to add a score bonus.                                                                                                                                           |
| **Bomb (O)**    | Click a ring, a stick, or empty space on the canvas to place a bomb.                                                                                                                  |

### Create and test a level

1. Click **+** next to the level number to create a level.
2. Place two rings with **Ring (R)**. Switch to **Select (V)** to adjust each ring’s size and opening in the Inspector.
3. Link the rings with **Link (L)**. If the arrow points the wrong way, select the connection and click **Reverse direction** in the Inspector.
4. Click **Play**. In the **Game** view, rotate the rings through your intended solution. If your layout includes sticks or blockers, check that they move or restrict movement as intended.
5. Exit Play Mode before editing the layout again. Save your changes and replay the puzzle until you can complete it and reach the results screen.
