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

findTeam

findTeam(world, entity): Team | null

The team entity is on, or null: the team of the player who controls it, else of the one player whose presence it is, else its own, so a tank a red player drives fights for red, as Lyra’s pawn takes its controller’s team. Null with no rule. On a page, a controller hidden from it reads as none.

Parameter Type
world World
entity Entity

Team | null