---
title: endFrame
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsviewanimation/key/endframe
---

# endFrame

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

## Declaration

```swift
static let endFrame: 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. If the target is a view and the end frame is empty, the view is hidden at the end.

## See Also

### Keys

- [effect](appkit/nsviewanimation/key/effect.md)
- [startFrame](appkit/nsviewanimation/key/startframe.md)
- [target](appkit/nsviewanimation/key/target.md)
