blockly > Events > getRecordUndo

Events.getRecordUndo() function

Returns whether or not events will be added to the undo stack.

Signature:

export declare function getRecordUndo(): boolean;

Returns:

boolean

True if events will be added to the undo stack.