<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKInterpolationMode/spline",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:@E@SKInterpolationMode@SKInterpolationModeSpline"
  },
  "title" : "SKInterpolationMode.spline"
}
-->

# SKInterpolationMode.spline

Values between two keyframes using a spline curve.

```
case spline
```

## Discussion

Given a sequence with the key values of `[5, 1, 10, 0]` and times of `[0, 0.25, 0.5, 1]`, spline interpolation produces a set of values that follow a smooth curve.

![Playground graph generated by SKKeyframeSequence using spline interpolation](images/com.apple.spritekit/media-2852038@2x.png)

---

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)