# Get player gameObject by client id

**URL:** <https://community.coherence.io/t/get-player-gameobject-by-client-id/699>\
**Category:** Help\
**Created:** [May 8, 2025, 10:44am UTC](https://community.coherence.io/t/get-player-gameobject-by-client-id/699 "2025-05-08T10:44:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Friwi](https://avatars.discourse-cdn.com/v4/letter/f/cab0a1/32.png) [@Friwi](https://community.coherence.io/u/Friwi)\
**Post date:** [May 8, 2025, 10:44am UTC](https://community.coherence.io/t/get-player-gameobject-by-client-id/699/1 "2025-05-08T10:44:24Z")

</div>

I have a list of all client IDs, and I want to get the player GameObject associated with each ID. Is there a way to do that?

---

<div class="post-metadata">

**Author:** ![brit](https://dub1.discourse-cdn.com/flex017/user_avatar/community.coherence.io/brit/32/34_2.png) [@brit](https://community.coherence.io/u/brit)\
**Post date:** [May 8, 2025, 10:55am UTC](https://community.coherence.io/t/get-player-gameobject-by-client-id/699/2 "2025-05-08T10:55:37Z")

</div>

One method is to use our Client Connections system and the callbacks provided: [Client Connections | coherence Documentation](https://docs.coherence.io/manual/client-connections)

You’ll set up your own lookup between your game’s concept of a player gameObject and the client ID provided by the client connection.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex017/uploads/coherence/original/1X/b3aa79eb9519fac7aad7eba18f15a1e8ce60f6e2.png) [@system](https://community.coherence.io/u/system)\
**Post date:** [August 6, 2025, 10:56am UTC](https://community.coherence.io/t/get-player-gameobject-by-client-id/699/3 "2025-08-06T10:56:26Z")

</div>

Closed on August 6, 2025, 10:56am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
