# PlayerSource

> **PlayerSource**<`S`> = `RefObject`<[`Player`](/reference/api/rupamotion/player/interfaces/player/)<`S`> | `null`> | [`Player`](/reference/api/rupamotion/player/interfaces/player/)<`S`> | `null` | `undefined`

Where `usePlayerState` reads the player: the ref given to `<RupaPlayer ref>` (followed when it is given another
player), or a player as it is (what `useRupaPlayer` returns); `null` or `undefined` for none.

## Type Parameters

### S

`S` _extends_ `string` = `string`
