---
title: SpatialTemplateConfiguration
framework: groupactivities
role: symbol
role_heading: Structure
path: groupactivities/spatialtemplateconfiguration
---

# SpatialTemplateConfiguration

A type that contains the configuration details for a spatial template.

## Declaration

```swift
struct SpatialTemplateConfiguration
```

## Overview

Overview Create a SpatialTemplateConfiguration structure and fill it with the information you want to apply to your custom SpatialTemplate type. A configuration structure contains the role to give to the person who initiates an activity that uses the template. For example, you might assign a presenter role to a person presenting a slide deck. Spatial templates use roles to place spatial Personas in the shared coordinate space.

## Topics

### Operators

- [==(_:_:)](groupactivities/spatialtemplateconfiguration/==(_:_:).md)

### Initializers

- [init(defaultInitiatorRole:)](groupactivities/spatialtemplateconfiguration/init(defaultinitiatorrole:).md)

### Instance Properties

- [defaultInitiatorRole](groupactivities/spatialtemplateconfiguration/defaultinitiatorrole.md)

### Instance Methods

- [hash(into:)](groupactivities/spatialtemplateconfiguration/hash(into:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring the spatial template

- [configuration](groupactivities/spatialtemplate/configuration.md)
