Owl.Util.Replica.GetReplicaById(id: number): OwlReplica<any> | nil

Client Only

Looks up a Replica already received by the client using its internal Id, bypassing ReplicaOfClassCreated. Mainly useful for debugging or one-off lookups.

Parameters

id*
number
The Replica's internal Id.

Returns

OwlReplica<any> | nilThe Replica if known to the client, otherwise nil.

Related Types

local replica = Owl.Util.Replica.GetReplicaById(42)
if replica then
    print(replica.Token, replica.Data)
end