<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKTextureAtlas/init(named:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKTextureAtlas(cm)atlasNamed:"
  },
  "title" : "init(named:)"
}
-->

# init(named:)

Creates a texture atlas from data stored in the app bundle.

```
convenience init(named name: String)
```

## Parameters

`name`

The name of the texture atlas, without the `.atlas` extension.

## Return Value

A new texture atlas object.

## Discussion

If the texture atlas cannot be found, an exception is thrown.

---

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)