# UndoInfoDef

Defines if an object should contain information on the number of possible undo and redo.

### Properties

"qUndoInfoDef": The numbers of undos and redos are empty when an object is created. The number of possible undos is increased every time an action (for example, create a child, set some properties) on the object is performed. The number of possible redos is increased every time an undo action is performed.

[UndoInfoDef](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-undoinfodef.htm)

## See also

[Undo or redo an action](https://help.qlik.com/en-US/sense-developer/November2025/csh/engineapi/undo-redo)

[UndoInfo](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-UndoInfo.htm)