Skip to main content

Paragraph

Properties

PropertyTypeOptional
textstringyes
codebooleanyes
copyableboolean/copyableyes
markbooleanyes
strongbooleanyes
italicbooleanyes
typestringyes
underlinebooleanyes
[events]functionyes
^ Please read the events page

Typography.Paragraph

Copyable

PropertyTypeOptionalDescription
formatstringyesThe Mime Type of the text
textstringyesThe text to copy

Children

Not supported on paragraph, use text property for setting text.

Example

local Paragraph = Menu:createElement("Paragraph", {
text = "This is a paragraph with some text in it! It can be used to display text in a more fancy way.",
})

This is how it looks in-game:

Showcase