# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/team-multiplayer-balancing-in-verse
# Local doc: epic-docs/documentation/en-us/fortnite/team-multiplayer-balancing-in-verse.md
# Section: Balancing Teams at Start of Game
AllPlayers := GetPlayspace().GetPlayers()
for (TeamPlayer : AllPlayers, CurrentTeam := GetPlayspace().GetTeamCollection().GetTeam[TeamPlayer]):
# Assign Players to a new team if teams are unbalanced
Verse Library
verse
04 Balancing Teams At Start Of Game
Iterates through players to evaluate current team assignments for automatic rebalancing logic.
extracted-snippets/documentation/en-us/fortnite/team-multiplayer-balancing-in-verse/04-balancing-teams-at-start-of-game.verse