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

readRespawnPoint

readRespawnPoint(player): Readonly<RespawnPoint> | null

player’s respawn point as setRespawnPoint set it, or null where none is set: what the player’s own page shows, such as a checkpoint’s mark. The record is the engine’s own, written again by the next call: copy what you keep. A point a respawn passes over, on another team or in another scene, still reads.

Parameter Type
player PlayerEntity

Readonly<RespawnPoint> | null