---
title: sceneAssociationBehavior
framework: groupactivities
role: symbol
role_heading: Instance Property
path: groupactivities/groupactivitymetadata/sceneassociationbehavior
---

# sceneAssociationBehavior

Criteria the system uses to direct an activity to a specific scene of your app.

## Declaration

```swift
var sceneAssociationBehavior: SceneAssociationBehavior
```

## Mentioned in

Adding spatial Persona support to an activity

## Discussion

Discussion An app with multiple Scene types typically uses each scene for a different purpose. For example, you might use one scene type for your app’s documents, and a different scene type for tool palettes, information windows, and other content. When a group activity starts, the system uses the information in this property to deliver the activity to the appropriate scene. On some platforms, the system also adds a custom indicator to the scene to let people know that SharePlay is active. Assign a value to this property to specify the scene-selection behavior for your app. If you don’t specify a value for this property, the system adopts the default scene association behavior.

## See Also

### Assigning an app-specific scene

- [SceneAssociationBehavior](groupactivities/sceneassociationbehavior.md)
