<!--
{
  "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/BlendTreeAnimation/fillMode",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation18BlendTreeAnimationV8fillModeAA0e4FillG0Vvp"
  },
  "title" : "fillMode"
}
-->

# fillMode

An option that determines which data displays outside of the normal
duration.

```
var fillMode: AnimationFillMode { get set }
```

## Discussion

This property determines what to display when the framework samples the
animation outside of the range defined by its underlying duration. The
animation applies this property when:

- Playback progresses toward, but hasn’t yet reached, a nonzero
  [`offset`](/documentation/RealityKit/AnimationDefinition/offset). - A range determined by
  [`trimStart`](/documentation/RealityKit/AnimationDefinition/trimStart), [`trimEnd`](/documentation/RealityKit/AnimationDefinition/trimEnd), or
  [`trimDuration`](/documentation/RealityKit/AnimationDefinition/trimDuration) exceeds the animation’s underlying
  duration.

---

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)