---
title: "redo"
canonical: "https://help.vicon.com/space/ShogunPost121/1253736782/redo"
format: markdown
---
# Description

Returns your scene file to its state immediately prior to the most recent undo operation.

Shogun Post maintains a history stack of (by default) 20 undoable operations, and will allow you to redo in one step or an optional `[numLevels]` number of those operations.

> ℹ️ **Note**   
> ℹ️ ShogunPost only records changes (and hence allows undoing) of actual data itself; changes to selection state and various GUI controls are not undoable.

## Functional area

System

# Command syntax

## Syntax

> Macro (scroll-tablelayout)

|  |
| --- |
| `redo "numLevels"` |

### Arguments

> Macro (scroll-tablelayout)

| Name | Type | Required | Comments |
| --- | --- | --- | --- |
| `numLevels` | integer | no | One argument is available and it is optional. It specifies the number of undo operations to perform in one step. Not providing this argument will redo the most recent operation (i.e. the same as specifying a value of one. |

### Flags

None

## Return value

void

> Macro (scroll-pagebreak)

## Examples

```plaintext
// Redo the last operation
redo;

```

# Additional information

## Related commands

- [undo](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737294)
- [undoConsolidated](https://vicon-help.atlassian.net/wiki/spaces/ShogunPost121/pages/1253737610)