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

spectateMatch

spectateMatch(authority, player, target): MatchSpectateResult

Starts player watching a match, switches whom the player follows, or with null ends the player’s watching, by the rules a page’s sendMatchSpectate runs too: a system’s, such as a pad’s in the park. An eliminated member switches whom the member follows in the member’s own match the same way. A refusal changes nothing.

Parameter Type
authority Authority
player PlayerEntity
target MatchSpectateTarget | null

MatchSpectateResult