PcoWSkbVqDnWTu_dm2ix
Collapse Sidebar

Transparency

UIStroke

float

The UIStroke/Transparency|Transparency property sets the stroke opacity independently of the parent object’s GuiObject/BackgroundTransparency|BackgroundTransparency or TextLabel/TextTransparency|TextTransparency. This allows you to render text and borders that are “hollow” (consisting of only an outline).

Stroke UIStroke/Transparency|Transparency of 0.5
Object TextLabel/TextTransparency|TextTransparency of 0
Stroke UIStroke/Transparency|Transparency of 0
Object TextLabel/TextTransparency|TextTransparency of 1

See also

For a more detailed walkthrough of the UIStroke object, take a look at the Applying Strokes article.