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

# target

The target of the animation.

## Declaration

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

## Discussion

Discussion The target can be either an NSView object or an NSWindow object. This property is required.

## See Also

### Keys

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