---
title: SKInterpolationMode.step
framework: spritekit
role: symbol
role_heading: Case
path: spritekit/skinterpolationmode/step
---

# SKInterpolationMode.step

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

## Declaration

```swift
case step
```

## Discussion

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.

## See Also

### Constants

- [SKInterpolationMode.linear](spritekit/skinterpolationmode/linear.md)
- [SKInterpolationMode.spline](spritekit/skinterpolationmode/spline.md)
