Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Global objectClient APIGenerated

LocalPlayer

const LocalPlayer: Player | null

Defined in: client/api.d.ts:5578

The player sitting at this machine, or null while this client has no body – before the session spawns one, and again once it ends. Read it fresh each time rather than holding onto it.