---
title: startFrame
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsviewanimation/key/startframe
---

# startFrame

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

## Declaration

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

## Discussion

Discussion The size and location are specified by an NSRect structure encoded in an 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.

## See Also

### Keys

- [effect](appkit/nsviewanimation/key/effect.md)
- [endFrame](appkit/nsviewanimation/key/endframe.md)
- [target](appkit/nsviewanimation/key/target.md)
