# Plan mode

> Have RoGenie inspect your place and propose a plan before it changes anything. Approve the plan to build it, or keep refining it.

In **Plan mode**, RoGenie only inspects your place and proposes a plan. **Nothing in your place changes until you approve.** Use it for big changes, unfamiliar places, or whenever you want to see the approach first.

The other mode, **Act mode**, is the default: RoGenie builds in your place as it goes.

## Turn Plan mode on

Click the **Plan / Act** switch beside the message box. The setting is per chat. When Plan mode is on, the switch says so: "Plan mode is on: RoGenie only inspects and proposes a plan".

## What RoGenie does in Plan mode

1. **Inspects** with read-only tools: it reads scripts, searches, checks properties, analyses the scene and takes screenshots.
2. **Measures safely.** If it needs to run Lua to measure something, it runs inside a sandbox: every change it makes is rolled back as soon as it finishes. Tools such as find-and-replace and bulk edits run as dry runs that report what they *would* change.
3. **Writes the plan**: what it found, the concrete steps, the risks, and how each step will be verified.

Every tool that would change your place is unavailable until you approve. This is enforced by RoGenie for every tool call, not left to the model.

> **Note**
> Running Lua in the Plan mode sandbox needs a recent RoGenie plugin. If yours is older, restart Studio so the plugin updates itself. See [Install the Studio plugin](https://rogenie.ai/docs/install-plugin#updates).

## Approve or keep planning

Under the plan, RoGenie shows **Awaiting approval** with the plan's title and number of steps, and two buttons:

- **Approve & build** switches the chat to Act mode and builds exactly that plan. The plan is then marked **Approved**.
- **Keep planning** lets you say what to change: "use a ModuleScript instead", "skip step 4". RoGenie revises the plan and asks again.

If you change your place or the plan is replaced by a newer one, approve the latest plan.

## Good uses

- Refactoring or reorganising an existing game.
- Changes to data saving, purchases or anything you cannot easily undo.
- Asking "how would you build X here?" before committing.
- Getting an audit of a place without touching it.

## Limits

- Plan mode cannot undo effects outside your place, so RoGenie does not call web requests, DataStores, plugin settings or asset uploads while planning.
- Approving builds in Act mode, which uses the normal tools and quota. You can still [stop](https://rogenie.ai/docs/stop-and-steer) or [revert](https://rogenie.ai/docs/revert) the build afterwards.
