<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GroupActivities",
  "identifier" : "/documentation/GroupActivities/SpatialTemplate/elements",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Group Activities"
    ],
    "preciseIdentifier" : "s:15GroupActivities15SpatialTemplateP8elementsSayAA0cD7Element_pGvp"
  },
  "title" : "elements"
}
-->

# elements

The collection of spatial Persona seats this template contains.

```
var elements: [any SpatialTemplateElement] { get }
```

## Discussion

This property contains the seat locations for the participants.
Add the seats your template requires, and specify each seat’s
location relative to your app’s shared scene. For each seat, you can
also specify the direction that seat faces, and optional role
information. The system fills seats in the same order they appear in the array.

To place the current participant in a seat with a specific role, use the [`SystemCoordinator`](/documentation/GroupActivities/SystemCoordinator)
object to assign that role to the participant. The system assigns
the first available seat with that role to the participant. If a
seat with the requested role is unavailable, the system assigns the
participant to the next available seat without a role.

You can specify as many seats as you want in this property, even if
there aren’t enough participants to fill all of the seats. If some
seats in your template have roles, include enough additional seats
without roles to accommodate all participants initially.

---

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)