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

findTeamByKey

findTeamByKey(world, key): Team | null

The team key names among the teams in play, a match’s among them, or null: what turns a key a trait or an event holds, such as TeamChangedEvent’s to or a projectile’s team as it was fired, back into its handle.

Parameter Type
world World
key string

Team | null