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 the player’s character to the player’s drone does. What a HUD reads the character’s health, bag and cooldowns off. A character with its pose comes before a kart or a drone the player controls beside it, and a room’s own world reads none. As Roblox’s Players.LocalPlayer.Character.

Entity | undefined