---
title: activeParticipants
framework: groupactivities
role: symbol
role_heading: Instance Property
path: groupactivities/groupsession/activeparticipants
---

# activeParticipants

The set of participants currently engaged in the activity.

## Declaration

```swift
@Published<Set<Participant>> final var activeParticipants: Set<Participant> { get }
```

## Mentioned in

Configure your visionOS app for sharing with people nearby Joining and managing a shared activity

## Discussion

Discussion This property reflects the set of people invited to a group session and currently engaged in the shared activity on their device. Members who join the conversation over FaceTime but don’t join the shared activity aren’t active participants. As people join or leave the activity, the session object updates the set of active participants. To detect changes to this property, configure a subscriber. Each Participant object corresponds to a joined session on a device. If a single person joins the activity from two devices simultaneously, the set contains a separate Participant object for each device.

## See Also

### Getting the participants

- [localParticipant](groupactivities/groupsession/localparticipant.md)
