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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
key |
string |
Returns
Section titled “Returns”Team | null