readLocalCharacter
readLocalCharacter(
world):Entity|undefined
The character this side’s player controls: the one under the client’s authority, which her page predicts, a character with its pose before a kart or a drone she controls beside it. On a world with no player, as a harness that spawns her bare has, the first controllable entity where none is under the client’s authority. A room’s own world holds every player and steers none, so it reads none.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
Returns
Section titled “Returns”Entity | undefined