<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKLabelHorizontalAlignmentMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:@E@SKLabelHorizontalAlignmentMode"
  },
  "title" : "SKLabelHorizontalAlignmentMode"
}
-->

# SKLabelHorizontalAlignmentMode

Options for aligning text horizontally.

```
enum SKLabelHorizontalAlignmentMode
```

## Topics

### Constants

[`SKLabelHorizontalAlignmentModeCenter`](/documentation/SpriteKit/SKLabelHorizontalAlignmentMode/center)

Centers the text horizontally on the node’s origin.

[`SKLabelHorizontalAlignmentModeLeft`](/documentation/SpriteKit/SKLabelHorizontalAlignmentMode/left)

Positions the text so that the left side of the text is on the node’s origin.

[`SKLabelHorizontalAlignmentModeRight`](/documentation/SpriteKit/SKLabelHorizontalAlignmentMode/right)

Positions the text so that the right side of the text is on the node’s origin.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)