Reference API Roblox

Engine API

Website

Related

Reference API Roblox

FinishRecordingOperation

Controls how ChangeHistoryService:FinishRecording() completes or discards a recording session.

Items 3

HistoryNameValueDescription
583Cancel0

Cancels the recording, automatically undoing any work in progress.

583Commit1

Commits the recorded work.

583Append2

Commits the recorded work and merges with the previous recording if possible.

Description

Controls what ChangeHistoryService:FinishRecording() does when a plugin ends a recording. Pass FinishRecordingOperation.Commit to push recorded changes onto the undo/redo stack, FinishRecordingOperation.Append to merge them with the previous entry when possible, or FinishRecordingOperation.Cancel to discard them.

History 4

Settings