Skip to main content

Home > blockly > Events > setRecordUndo

Events.setRecordUndo() function

Sets whether events should be added to the undo stack.

Signature:

export declare function setRecordUndo(newValue: boolean): void;

Parameters

ParameterTypeDescription
newValuebooleanTrue if events should be added to the undo stack.

Returns:

void