---
title: "init(defaultInitiatorRole:)"
framework: groupactivities
role: symbol
role_heading: Initializer
path: "groupactivities/spatialtemplateconfiguration/init(defaultinitiatorrole:)"
---

# init(defaultInitiatorRole:)

Creates the configuration structure for a spatial template.

## Declaration

```swift
init(defaultInitiatorRole: (any SpatialTemplateRole)? = nil)
```

## Parameters

- `defaultInitiatorRole`: The template-specific role to apply to the person who initiates the activity. The specified role must be present in the template. Specify nil if you don’t want to assign a specific role to the initiator of the activity.

## Return Value

Return Value An initialized configuration object.
