# This runs when the game starts
OnBeginPlay():void=
# Get the list of all players currently in the game
AllPlayers := GetPlayers()
# Run our setup function with that list
SetupStartingPositions(AllPlayers)
Verse Library
verse
02 Fragment
Retrieves all active players at game start to configure their initial positions or states.
verse-library/set-up-the-player/02-fragment.verse