Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

useCharacter

useCharacter(): Entity | undefined

The character this side’s player controls, or undefined, as readLocalCharacter reads it, read again each time a controllable entity or a player comes or goes and each time a control or an authority changes, as a switch from her character to her drone does: what a HUD reads her health, her bag and her cooldowns off. A character with its pose comes before a kart or a drone she controls beside it, and a room’s own world reads none. As Roblox’s Players.LocalPlayer.Character.

Entity | undefined