usePlayer
usePlayer():
PlayerState
Defined in: packages/engine/src/components/usePlayer.ts:22
The player’s character, read from the world rather than a store: the hero under the client’s authority, or the first hero where none is. Never null, so a bar reads it before she spawns: full health until then.