SurfaceTextOptions
The settings you pass to Instance:set_text to choose the color, font, size and alignment of text on a face.
Fields
color
The color of the text, which is black when you leave it out.
font
Font?
The font the text is drawn in, which is bold when you leave it out.
sansbolddefaultitaliccondensedroundedlightmonosize
number?
The height of each line of text in studs, where 0 makes the text fit the face.
default 0
align
("center" | "left" | "right")?
How the lines of text line up across the face of the part.
centerdefaultleftright