<!--
{
  "availability" : [
    "FxPlug: 3.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxUndoAPI/startUndoGroup(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(pl)FxUndoAPI(im)startUndoGroup:"
  },
  "title" : "startUndoGroup(_:)"
}
-->

# startUndoGroup(_:)

Begins a new undo group.

```
func startUndoGroup(_ name: String!) -> Bool
```

## Parameters

`name`

The name of the undo group. Some hosts may display this name in their undo menu. This name should be localized and suitable for user display.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the undo group was successfully started; otherwise <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

A plug-in can use this method to collapse multiple operations into one undo operation. Subsequent undo operations will be coalesced into this group until [`endUndoGroup()`](/documentation/professional_video_applications/FxUndoAPI/endUndoGroup()) is called. Each call to [`startUndoGroup(_:)`](/documentation/professional_video_applications/FxUndoAPI/startUndoGroup(_:)) must be balanced with a call to [`endUndoGroup()`](/documentation/professional_video_applications/FxUndoAPI/endUndoGroup()).

For example, a plug-in may implement a “preset” popup, which changes the values of 20 other parameters using the FxParameterSettingAPI. By nesting the parameter changes in a `startUndoGroup`/`endUndoGroup` block, the 20 changes will be collapsed into one undo operation. This allows the user to undo the preset app by hitting undo once, instead of once per each changed parameter.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)