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

# SKInterpolationMode.spline

Values between two keyframes using a spline curve.

## Declaration

```swift
case spline
```

## Mentioned in

Using Keyframe Sequence to effect Custom Interpolation

## Discussion

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.

## See Also

### Constants

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