How to get an inner border on a TextLabel?

  1. What do you want to achieve? Keep it simple and clear!
    I want to make a TextLabel that has an inner border using only the TextLabel (because it will look weird if its two TextLabels).

  2. What is the issue? Include screenshots / videos if possible!
    I don’t know how I would do this.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried looking around for tutorials and resources on this but found none.

1 Like

Do you mean the Text to have an outline?

If so then set TextStrokeTransparency property to 0 and you get the outline.
You can also change it’s TextStrokeColor3 which changes the outline color.

1 Like

What I mean is, I want the actual UI object to have a border on it, but I want the border to be inside the UI object and not on the outline of it.

There’s a property called BorderMode(I mistakely wrote BorderType) where u can change it to inner.

Wait inner border in text? ----

I can’t find a property called BorderType, do you mean BorderMode?

No, I mean on the actual UI object.