<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/AnimationContext/isLogicallyComplete",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI16AnimationContextV19isLogicallyCompleteSbvp"
  },
  "title" : "isLogicallyComplete"
}
-->

# isLogicallyComplete

Set this to `true` to indicate that an animation is logically complete.

```
var isLogicallyComplete: Bool
```

## Discussion

This controls when AnimationCompletionCriteria.logicallyComplete
completion callbacks are fired. This should be set to `true` at most
once in the life of an animation, changing back to `false` later will be
ignored. If this is never set to `true`, the behavior is equivalent to
if this had been set to `true` just as the animation finished (by
returning `nil`).

---

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)