Is it possible to go to next line in a text label

I just want to know if it is possible to make a text label display text in two lines
Example: Text: “Hey there, welcome”… I want “Hey there,” in the first line and “welcome” in the second line.
can we use something like “/n”

1 Like

Taken from documentation on textlabel
“This property may contain newline characters, however, it is not possible to type newline characters within the Properties window. Similarly, this property may contain a tab character, but it will render as a space instead.”

3 Likes

You can use space.

1 Like

that wouldn’t make it perfectly aligned…

2 Likes

Then you can use more than one text label.

3 Likes

You can use \n to create a new line.
TextLabel.Text = "Hey there,\nwelcome"

5 Likes

You can use \n but you will need to have RichText enabled in the textLabel’s properties

3 Likes

You do not need for \n RichText enabled.

2 Likes

you can use this:

Hey there, <br />
welcome VSCPlays
18 Likes

Oh really? I didn’t know that!

2 Likes

does that work in Lua ?

2 Likes

yes, but you need RichText enabled

2 Likes

I am aware of that but I don’t want it to change it in script, I want to change it in the properties tab but as @Wigglyaa said, it’s not possible

1 Like

Well then as @VSCPlays said you can use this

but you have to turn on “RichText”

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.