<!--
{
  "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/AnimationFillMode/forwards",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation17AnimationFillModeV8forwardsACvpZ"
  },
  "title" : "forwards"
}
-->

# forwards

An option that freezes the last frame of the animation until it stops.

```
static let forwards: AnimationFillMode
```

## Discussion

For example, if you increase a hand-waving animation’s duration one
second by setting [`trimEnd`](/documentation/RealityKit/SampledAnimation/trimEnd) to
[`duration`](/documentation/RealityKit/SampledAnimation/duration) + `1.0`, a [`fillMode`](/documentation/RealityKit/SampledAnimation/fillMode)
of `forwards` determines that the hand waves and then freezes on its
final animation frame for one second before disappearing.

---

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)