# 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
var Label:text_block = text_block:
DefaultText := Text,
DefaultTextColor := NamedColors.White,
DefaultShadowColor:= color{R:=0.0, G:=0.0, B:=0.0},
DefaultShadowOffset := option{vector2{X:=5.0, Y:=2.0}}
Verse Library
verse
10 Controlling The Ui Materials And Triggers With The
Declares and styles a text block UI element with default content, colors, and shadow offset properties.
extracted-snippets/documentation/en-us/fortnite/material-block-in-fortnite/10-controlling-the-ui-materials-and-triggers-with-the.verse