Blockbench Reference Docs
    Preparing search index...

    Class UndoSystem

    Index

    Constructors

    Properties

    current_save?: UndoSave
    history: UndoEntry[]
    index: number

    Methods

    • Add keyframes to the current edit that were indirectly removed by moving other keyframes to their position

      Parameters

      Returns void

    • Provides a menu to amend the latest edit with slightly changed values

      Parameters

      Returns void

    • Cancels an event before it was finished and reset the project to the state before

      Returns void

    • Cancel the selection changes

      Parameters

      • Optionalrevert_changes: boolean

        If true, the already tracked selection changes will be reverted to the state before initSelection

      Returns void

    • Redoes the latest edit

      Parameters

      • Optionalremote: boolean

      Returns void

    • Cancels an event before it was finished and reset the project to the state before

      Parameters

      • Optionalremote: boolean

      Returns void