Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I format text size and position?

local Q1 = Instance.new("ScreenGui")
Q1.Parent = game.StarterGui
local text = Instance.new("TextBox")
text.Parent = Q1
text.BackgroundTransparency = 1
text.MultiLine = true
text.Position = {0,200,0,200}
text.Size = 0,200,0,200

The above text.Position and text.Size do not work. In what way do i put them?

1 comment

0

You need Udim2's.

1 answer

✓ Accepted answer

Use UDim2.

Heres the structure

UDim2.new( ScaleX, OffsetX, ScaleY, OffsetY)

This discussion is preserved as it was. New answers, comments, and votes are closed.