---
title: weight
framework: photosui
role: symbol
role_heading: Instance Property
path: photosui/phprojectelement/weight
---

# weight

A value between 0 and 1 representing relative significance of the element in its section.

## Declaration

```swift
var weight: Double { get }
```

## Discussion

Discussion Values range from 0.0 to 1.0 where a higher number represents higher overall significance within the project section. The default value is 0.5. Projects that allow a user to reduce the number of elements in a section can use this hint to determine which elements are most important to preserving context.

## See Also

### Describing Project Elements

- [placement](photosui/phprojectelement/placement.md)
