Undo & Redo
Almost every change you make in the world is a step you can take back. Each editor has their own history and only steps through their own changes.
Keys
| Key | Action |
|---|---|
Ctrl + Z | Undo: undo the last change. |
Ctrl + Y or Ctrl + Shift + Z | Redo: bring back what you undid. |
These are the defaults. Every editor can change them in the Workshop’s Keybinds tab, see Keybinds.
The keys work while the editor is open, in cursor mode and with the game camera, see Camera & Controls. They do nothing while you type in a text field or drag with the gizmo. Holding a key down repeats it, one step per repeat.
A new change after an undo clears the steps you could redo.
What can be undone
Every row is one step. A step can hold many props, for example a whole brush stroke or a fill.
| Change | Undo |
|---|---|
| Placing with a click, or one brush stroke, scatter copies included. See Placing Props. | Removes the props. |
| Moving or turning with the gizmo, one drag. See Move & Rotate Gizmo. | Puts the props back. |
Copying with Alt + drag. | Removes the copies. |
| Delete, Cut, Paste, Clone, Clone On The Spot, Set On Ground, Zero Rotation, Return To Origin, Freeze, Unfreeze, Enable Collision, Disable Collision, Show, Hide and Unlock, from the right-click menu or the keys. See Selecting & Editing Props. | Reverses the change. Deleted props come back. |
| Apply in the Transform panel. | Puts the old values back. |
| Apply of the Array Tool. | Removes the copies. |
| Fill of the Fill Tool. | Removes the props. |
| Placing, copying, moving, changing or removing a light, and Clear all. See Lights. | Reverses the change. |
| Deleting placed props with Delete Mode or Box Select. | Brings the props back. |
| Erasing GTA props with Delete Mode, the right-click menu or Box Select. | Brings the GTA props back. |
| Restore on the Erased World Props tab of the Prop Browser. | Erases the GTA prop again. |
| Adopting GTA props with the right-click menu or Box Select. | Removes the copies and brings the GTA props back. |
Undo and redo select the props they touch, so you see what changed. Undoing a placement gives you back the selection you had before it.
Undo puts back the state from before your change, also when another editor has changed the same prop since.
What is not part of undo
- Everything done in the Workshop: maps, categories, labels, moving props to another map, deleting props from the Placed Props list, imports, publishing, schedules and keybinds.
- Delete object on the Created tab of the Prop Browser.
- Copy, the selection, favourites, panel settings and the camera.
To keep a delete undoable, delete the prop in the world with Delete or the right-click menu.
How many steps
Config.History = {
depth = 250, -- steps each editor session can undo; 0 turns undo off
keepDays = 45, -- History tab entries older than this many days are removed (on start and once a day); 0 keeps them forever
replyTimeoutMs = 10000, -- how long an undo/redo waits for one server reply before treating it as lost (ms, at least 1000)
}| Setting | What it does |
|---|---|
depth | How many steps you can undo. Past that, the oldest steps drop off. 0 turns undo and redo off: the keys then only say The undo history is empty. and There’s no undone change to bring back. |
keepDays | Not used by undo. It is how long the History tab keeps its entries, see Undo and the History tab. |
replyTimeoutMs | How long an undo or redo waits for an answer from the server, see Waiting for the server. |
See History.
How long the history lasts
Your history is kept in your own game while you are on the server. Closing and opening the editor or switching your working map does not clear it, so you can still undo earlier steps after reopening. Leaving the server or a restart of the resource clears it.
Steps with props and lights work on any map, also after you switched your working map.
Steps with erased or adopted GTA props need the working map you had when you made them. With another working map selected, undoing an erase does nothing and says Someone else got to that hidden prop first, so this step had nothing to change. Undoing an adoption then removes the copy but leaves the GTA prop hidden, with Some objects could not be updated. Switch back to that map first.
Waiting for the server
Each undo and redo asks the server to make the change. Presses wait in a queue and run one after another, up to 256 of them. Meanwhile the top bar shows Saving….
When the server does not answer within replyTimeoutMs (10 seconds, at least 1 second), the step fails with That step couldn’t be undone. or Redo failed. The step stays where it was, so you can press again, and the presses still waiting in the queue are dropped.
When a step can’t be undone
| Message | Why |
|---|---|
| The undo history is empty. | Nothing left to undo, or undo is turned off with depth = 0. |
| There’s no undone change to bring back. | Nothing to redo. |
| That step couldn’t be undone. | The server refused the undo or did not answer. The step stays. |
| Redo failed. | The same for redo. |
| You’re doing that too fast. | Too many requests in a short time, for example when you hold the key down. See Rate limit. |
| Some objects could not be updated. | Part of the step could not be done, for example because a prop was purged or the map is full. The rest of the step is done. |
| Someone else got to that hidden prop first, so this step had nothing to change. | The erased GTA props of the step were already brought back or erased again, for example by another editor. |
A refusal with its own message, such as You don’t have permission., shows that message instead.
Deleted props are kept for a while
-- Deleting a prop YOU PLACED only marks the row deleted so undo can bring it
-- back. Those rows are dead weight once nobody is going to undo them, so they
-- are purged for good after this many days (0 disables the purge).
-- Erased GTA world props are never purged - they are the map edit itself.
Config.PurgeDeletedAfterDays = 7Deleting a placed prop only marks it as deleted in the database, so undo can bring it back. After Config.PurgeDeletedAfterDays (7) days it is removed for good. The server checks this when the resource starts and once a day. Deleted lights are kept and purged the same way. 0 keeps deleted props forever. See Maps and limits.
Bringing a deleted prop back counts toward the object limit of its map. When the map is full, the prop stays deleted and you get Some objects could not be updated.
Undo and the History tab
The Workshop’s History tab is something else: a list of what every editor changed, kept on the server.
| What | Undo & Redo | History tab |
|---|---|---|
| Whose changes | Your own changes in the world. | Every editor’s changes, Workshop changes included. |
| Where it is kept | In your game, until you leave the server. | On the server, for keepDays (45) days. |
| What you can do | Take changes back and bring them back again. | Read and filter the list. It can’t reverse anything. |
See History.

