<!--
{
  "availability" : [
    "iOS: 7.0.0 - 10.0.0",
    "iPadOS: 7.0.0 - 10.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.8.0 - 10.12.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKView/frameInterval",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKView(py)frameInterval"
  },
  "title" : "frameInterval"
}
-->

# frameInterval

The number of frames that must pass before the scene is called to update its contents.

```
var frameInterval: Int { get set }
```

## Discussion

The default value is `1`, which results in your game being notified at the refresh rate of the display. If the value is set to a value larger than `1`, the display link notifies your game at a fraction of the native refresh rate. For example, setting the interval to `2` causes the scene to be called every other frame, providing half the frame rate.

Behavior is undefined with a value less than `1`.

This property is deprecated. Use [`preferredFramesPerSecond`](/documentation/SpriteKit/SKView/preferredFramesPerSecond), or [`view(_:shouldRenderAtTime:)`](/documentation/SpriteKit/SKViewDelegate/view(_:shouldRenderAtTime:)) instead.

---

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)