# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/material-block-in-fortnite
# Local doc: epic-docs/documentation/en-us/fortnite/material-block-in-fortnite.md
# Section: Controlling the UI, Materials, and Triggers with the On Begin Function
for:
Player:GetPlayspace().GetPlayers()
PlayerUI := GetPlayerUI[Player]
Verse Library
verse
12 Controlling The Ui Materials And Triggers With The
Sets up a loop to access every player UI interface for batch interface operations across the session.
extracted-snippets/documentation/en-us/fortnite/material-block-in-fortnite/12-controlling-the-ui-materials-and-triggers-with-the.verse