<!--
{
  "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/SKSceneScaleMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:@E@SKSceneScaleMode"
  },
  "title" : "SKSceneScaleMode"
}
-->

# SKSceneScaleMode

The modes that determine how the scene’s area is mapped to the view that presents it.

```
enum SKSceneScaleMode
```

## Topics

### Constants

[`SKSceneScaleModeFill`](/documentation/SpriteKit/SKSceneScaleMode/fill)

Each axis of the scene is scaled independently so that each axis in the scene exactly maps to the length of that axis in the view.

[`SKSceneScaleModeAspectFill`](/documentation/SpriteKit/SKSceneScaleMode/aspectFill)

The scaling factor of each dimension is calculated and the larger of the two is chosen. Each axis of the scene is scaled by the same scaling factor. This guarantees that the entire area of the view is filled but may cause parts of the scene to be cropped.

[`SKSceneScaleModeAspectFit`](/documentation/SpriteKit/SKSceneScaleMode/aspectFit)

The scaling factor of each dimension is calculated and the smaller of the two is chosen. Each axis of the scene is scaled by the same scaling factor. This guarantees that the entire scene is visible but may require letterboxing in the view.

[`SKSceneScaleModeResizeFill`](/documentation/SpriteKit/SKSceneScaleMode/resizeFill)

The scene is not scaled to match the view. Instead, the scene is automatically resized so that its dimensions always match those of the view.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)