API Reference > imodeljs-markup > MarkupTools > RedlineTool > onUndoPreviousStep onUndoPreviousStep Method Called to reverse to a previous tool state (ex. undo last data button). onUndoPreviousStep(): Promise<boolean> Returns - Promise<boolean> false to instead reverse the most recent transaction. Defined in markup/src/RedlineTool.ts Line 52 Last Updated: 11 June, 2024