<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSViewAnimation/Key/startFrame",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSViewAnimationStartFrameKey"
  },
  "title" : "startFrame"
}
-->

# startFrame

The size and location of the window or view at the start of the animation.

```
static let startFrame: NSViewAnimation.Key
```

## Discussion

The size and location are specified by an <doc://com.apple.documentation/documentation/Foundation/NSRect> structure encoded in an <doc://com.apple.documentation/documentation/Foundation/NSValue> object. This property is optional. If it is not specified, `NSViewAnimation` uses the frame of the window or view at the start of the animation.

---

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)