undo
Step backwards through Revix's action history using Roblox's ChangeHistoryService.What it does
Every Revix command is wrapped in a Roblox ChangeHistoryService waypoint pair — Before Revix Command and After Revix Command. That means Studio's normal undo stack tracks each Revix action as a discrete step, just like any other Studio edit.
In practice, the easiest way to undo a Revix change is to press Ctrl+Z (Cmd+Z on Mac) in Studio. Your full undo history works exactly as it does for manual edits: you can step back as many actions as you want, redo with Ctrl+Y (Cmd+Shift+Z), and the cursor stays inside Studio.
There is also an undo tool Revix itself can call. It tells the plugin to step backwards through the waypoints — handy when Revix realizes mid-task that it took a wrong turn and wants to walk back a few steps before retrying. The tool accepts an optional steps count between 1 and 50, defaulting to 1.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| `steps` | number | no | Number of undo steps (1-50). Default `1`. |
When Revix uses it
- Recovering from a mistaken edit it detected immediately afterward
- Rolling back an experimental approach before trying a different one
- Cleaning up a partial build it does not want to keep
How to undo manually
- Click anywhere in Studio to focus the viewport.
- Press Ctrl+Z (Cmd+Z on Mac) to undo the most recent Revix action.
- Repeat to step further back. Use Ctrl+Y (Cmd+Shift+Z) to redo.
Troubleshooting
If undo seems to do nothing, check that Studio's viewport is focused — keyboard shortcuts route to whichever panel has focus. See troubleshooting for more.