How to set position for a text label

Just wondering on how to set a position of a text label by code, because when I tried to set it, there will be an error stating it attempted to index string with “Position”.

1 Like
local text = --your textlabel here
	
text.Position = UDim2.new(--your position here)

thats what i did

heres a photo of it

Can you screenshot the rest of the code?

1 Like

that’s literally it theres no more

nvm i realised i shouldn’t name my frame “Name”

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