<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/TweenMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation9TweenModeO"
  },
  "title" : "TweenMode"
}
-->

# TweenMode

Options that determine whether an animation switches between frames
gradually or abruptly.

```
enum TweenMode
```

## Overview

This enumeration declares the options for a sampled animation’s
[`tweenMode`](/documentation/RealityKit/SampledAnimation/tweenMode). The gradual or abrupt change, or
*interpolation*, refers to the visual behavior that occurs between adjacent
values in a sampled animation’s [`frames`](/documentation/RealityKit/SampledAnimation/frames-2hobp).

## Topics

### Choosing a mode between frames

[`case hold`](/documentation/RealityKit/TweenMode/hold)

An option that indicates a keyframe changes to the next abruptly.

[`case linear`](/documentation/RealityKit/TweenMode/linear)

An option that indicates that a keyframe changes to the next gradually.

### Comparing tween modes

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)