useStreamedPlayer
Uses a streamed player by their ID.
Syntax
useStreamedPlayer(id);
Parameters
Name | Type | Description |
---|---|---|
id | number | The ID of the player to use. |
Returns
- `PlayerManager or
null
- The player manager if the player is streamed in, ornull
if the player is not streamed in.
Example
const player = useStreamedObject(1);
Available on: Client