Current number of players in connected lens

Vishal Vats
Vishal Vats Posts: 5
edited January 2023 in Programming #1

I was playing around multiplayer experiences with connected lenses in Studio. I know that a total of 64 players can join the session at a time.

But I want to know how can I keep a check on the current number of players that joined the session so that I can restrict to a total of 2 players only? Can't find the exact property for that. Can anyone help?

By the way I am using the friendlist (remote) version as the invitation mode