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

# SKInterpolationMode.step

Values between two keyframes are not interpolated. Instead, the value is that of the most recent keyframe.

```
case step
```

## Discussion

Given a sequence with the key values of `[5, 1, 10, 0]` and times of `[0, 0.25, 0.5, 1]`, step interpolation produces a set of values that follow a series of steps between each keyframe.

![Playground graph generated by SKKeyframeSequence using step interpolation](images/com.apple.spritekit/media-2852037@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)