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

# isNearbyWithLocalParticipant

A Boolean value that indicates whether the participant is physically
nearby with the local participant.

```
var isNearbyWithLocalParticipant: Bool { get }
```

## Discussion

This property is always true for the local participant.

You can observe which remote participants are nearby with the
[`$activeParticipants`](/documentation/GroupActivities/GroupSession/$activeParticipants) publisher.

```swift
for await activeParticipants in session.$activeParticipants.values {
    // Ignore the local participant value that defaults to 'true'.
    self.isNearbyWithOthers = activeParticipants.contains {
         $0 != session.localParticipant && $0.isNearbyWithLocalParticipant
    }
}
```

---

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)