---
title: center
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipreviewtarget/center
---

# center

The point in the containing view at which to place the center of the view being animated.

## Declaration

```swift
var center: CGPoint { get }
```

## See Also

### Getting the target attributes

- [container](uikit/uipreviewtarget/container.md)
- [transform](uikit/uipreviewtarget/transform.md)
