<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHProjectElement/placement",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:objc(cs)PHProjectElement(py)placement"
  },
  "title" : "placement"
}
-->

# placement

A rectangle defining where an element is placed in grid space coordinates.

```
var placement: CGRect { get }
```

## Discussion

For layout grids with more than one column, the values in the rectangle will always have integer value.  For fixed layouts, rectangle values will be in fractional unit values.

If suggested placement could not be determined at the time of project creation, the placement will contain <doc://com.apple.documentation/documentation/CoreGraphics/CGRectNull>.

For example, a rect of `(0,` `0,` `3,` `4)` represents a placement in the upper-left corner of the layout grid, with 3 grid units of width and 4 grid units of height.

---

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)