Collapse Sidebar




The TextStrokeColor3 property sets the color of the stroke, or outline, of rendered text. This property and TextBox/TextStrokeTransparency determine the visual properties of the text stroke.

Text stroke is rendered before normal text and is simply 4 renderings of the same text in +/- 1 pixel offsets in each direction. Text stroke rendering works independently and identically to TextBox/TextColor3 and TextBox/TextTransparency.

Code Samples

Text Highlight Oscillation

This code sample oscillates a TextLabel’s TextStrokeTransparency so that it blinks the highlight of a text.