What it does? for example, if you did: foreach(player in level.players) { player thread sayHello(); } It would make all the players in the game do that thread.