<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSGroupTouchBarItem/groupUserInterfaceLayoutDirection",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSGroupTouchBarItem(py)groupUserInterfaceLayoutDirection"
  },
  "title" : "groupUserInterfaceLayoutDirection"
}
-->

# groupUserInterfaceLayoutDirection

The user interface direction that controls the layout order of the items.

```
var groupUserInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get set }
```

## Discussion

The default value is [`NSUserInterfaceLayoutDirection.leftToRight`](/documentation/AppKit/NSUserInterfaceLayoutDirection/leftToRight).

If you want the order of the items in the group to respect the user’s preferred layout, set this property to the value of [`userInterfaceLayoutDirection`](/documentation/AppKit/NSApplication/userInterfaceLayoutDirection) on the [`NSApplication`](/documentation/AppKit/NSApplication).

---

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)